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
Oko posla bus vozac
633
pregleda
7
postova
29. Apr. 2020.
29. Apr. 2020.
// lestra wrote on April 29, 2020, 9:05 pm:
SCMTA -> SendClientMessageToAll i rijesen problem
29. Apr. 2020.
// lestra wrote on April 29, 2020, 9:19 pm:
Za svaki SetPlayerCheckpoint hoces da ti izbacuje u scmta
29. Apr. 2020.
Probaj vako ili ako ti neko bolje napise uzmi od njega onda
if( BusLinija[ playerid ] == 2 ) {
new string;
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 );
if( BusLinija[ playerid ] == 2 ) {
new string;
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 );
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava