01.05.2010, 08:20
Hi...
how can I make this message only show once?
it always sends as many messages as there are players on the server
how can I make this message only show once?
it always sends as many messages as there are players on the server
Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
for(new i=0; i < MAX_PLAYERS; i++)
if(IsPlayerConnected(i)){
new Float:px, Float:py, Float:pz;
if(IsPlayerInRangeOfPoint(i, 3.0, x, y, z);
SendClientMessage(playerid, grey, "blablabla");
SendClientMessage(i, grey, "blablabla2");
}
}


..I created it because I got some more steps in it and i also need the pos of the player in the range later