Problem(error/warning): Da li se ovdje moze dodat text npr kao na OS, kad postavi lokaciju CP da izbaci svima u chatu kao Bus je krenuo prema sledecoj lokaciji itditd
Dio skripte: [ pawn ] }
if( BusLinija[ playerid ] == 2 ) SetPlayerCheckpoint( playerid, 726.0715, -1373.3190, 13.5025, 5.0 );
else if( BusLinija[ playerid ] == 3 ) SetPlayerCheckpoint( playerid, 963.6168, -1328.3931, 13.3635, 5.0 );
else if( BusLinija[ playerid ] == 4 ) SetPlayerCheckpoint( playerid, 1233.1257, -1283.7501, 13.4822, 5.0 ); //banjica
else if( BusLinija[ playerid ] == 5 ) SetPlayerCheckpoint( playerid, 1432.5496, -1030.3401, 23.6563, 5.0 );
else if( BusLinija[ playerid ] == 6 ) SetPlayerCheckpoint( playerid, 1188.3201, -1043.8516,31.7397, 5.0 );
else if( BusLinija[ playerid ] == 7 ) SetPlayerCheckpoint( playerid, 1049.8245, -1291.0784, 13.4436, 5.0 );
else if( BusLinija[ playerid ] == 8 ) SetPlayerCheckpoint( playerid, 856.1176, -1316.7223, 13.4043, 5.0 );
else if( BusLinija[ playerid ] == 9 ) SetPlayerCheckpoint( playerid, 713.2784, -1361.1505, 13.5025, 5.0 );
else if( BusLinija[ playerid ] == 10 ) {[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike
stavis poruku kada on pokrene posao da svima izbaci...
SCMTA -> SendClientMessageToAll i rijesen problem
Citat: // lestra poslato April 29, 2020, 23:05:14 POSLE PODNE
SCMTA -> SendClientMessageToAll i rijesen problem
Znam ja to postavio sam radi, ali za svaki ovako CP posebno ne moze jer baca error
Za svaki SetPlayerCheckpoint hoces da ti izbacuje u scmta
Citat: // lestra poslato April 29, 2020, 23:19:47 POSLE PODNE
Za svaki SetPlayerCheckpoint hoces da ti izbacuje u scmta
Dadadada brato
Probaj vako ili ako ti neko bolje napise uzmi od njega onda
if( BusLinija[ playerid ] == 2 ) {
new string[128];
SetPlayerCheckpoint( playerid, 726.0715, -1373.3190, 13.5025, 5.0 );
format( string, sizeof( string ), "%s Bus Vozac je krenuo od burga", //sve zavisi kako je tebi GetName(playerid));
SCMTA( -1, string );
}
else if( BusLinija[ playerid ] == 3 ) {
SetPlayerCheckpoint( playerid, 963.6168, -1328.3931, 13.3635, 5.0 );
format( string, sizeof( string ), "%s Bus Vozac je stigao do banke", //sve zavisi kako je tebi ovo prepravlja znas gdje su ti kordinate dal su kod banke ili gdje hoces GetName(playerid));
SCMTA( -1, string );
else if( BusLinija[ playerid ] == 4 ) {
SetPlayerCheckpoint( playerid, 1233.1257, -1283.7501, 13.4822, 5.0 ); //banjica
format( string, sizeof( string ), "text", //sve zavisi kako je tebi GetName(playerid));
SCMTA( -1, string );
else if( BusLinija[ playerid ] == 5 ) {
SetPlayerCheckpoint( playerid, 1432.5496, -1030.3401, 23.6563, 5.0 );
format( string, sizeof( string ), "text", //sve zavisi kako je tebi GetName(playerid));
SCMTA( -1, string );
else if( BusLinija[ playerid ] == 6 ) {
SetPlayerCheckpoint( playerid, 1188.3201, -1043.8516,31.7397, 5.0 );
format( string, sizeof( string ), "text", //sve zavisi kako je tebi GetName(playerid));
SCMTA( -1, string );
else if( BusLinija[ playerid ] == 7 ) {
SetPlayerCheckpoint( playerid, 1049.8245, -1291.0784, 13.4436, 5.0 );
format( string, sizeof( string ), "text", //sve zavisi kako je tebi GetName(playerid));
SCMTA( -1, string );
else if( BusLinija[ playerid ] == 8 ) {
SetPlayerCheckpoint( playerid, 856.1176, -1316.7223, 13.4043, 5.0 );
format( string, sizeof( string ), "text", //sve zavisi kako je tebi GetName(playerid));
SCMTA( -1, string );
else if( BusLinija[ playerid ] == 9 ) {
SetPlayerCheckpoint( playerid, 713.2784, -1361.1505, 13.5025, 5.0 );
format( string, sizeof( string ), "text", //sve zavisi kako je tebi GetName(playerid));
SCMTA( -1, string );