Salut, am o problema daca sunt 10 playeri on le da checkpoint diferite si imi apare mesajul asta de 10 ori in chat
SendClientMessageToAll(-1, "A new stunting event has just started. It has been marked on your Map with a Black&White Race Flag Get there first and you'II win.");
for(new i =0; i<MAX_PLAYERS; i++){if(IsPlayerConnected(i)){
new randoms = random(sizeof(stuntnrg));{SetPlayerCheckpoint(i, stuntnrg[randoms][0],stuntnrg[randoms][1], stuntnrg[randoms][2],1.0);/////SetPlayerMapIconSetPlayerMapIcon(playerid,53, stuntnrg[randoms][0], stuntnrg[randoms][1], stuntnrg[randoms][2],53, MAPICON_GLOBAL_CHECKPOINT);//CreateDynamicMapIcon
pickup_event =CreatePickup(1274,2, stuntnrg[randoms][0], stuntnrg[randoms][1], stuntnrg[randoms][2],GetPlayerVirtualWorld(playerid));//SendClientMessageToAll(-1,"A new stunting event has just started. It has been marked on your Map with a Black&White Race Flag Get there first and you'II win.");
stunton[playerid]=1;}}}
Question
InceMan
Salut, am o problema daca sunt 10 playeri on le da checkpoint diferite si imi apare mesajul asta de 10 ori in chat
SendClientMessageToAll(-1, "A new stunting event has just started. It has been marked on your Map with a Black&White Race Flag Get there first and you'II win.");
@Wopss
FiveGame Lands
Pawno Developer, Mapping , Scripter
Since 2016
Link to comment
Share on other sites
9 answers to this question
Recommended Posts