SendClientMessage
#1

Hi...
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");
}
}
Reply


Messages In This Thread
SendClientMessage - by Sascha - 01.05.2010, 08:20
Re: SendClientMessage - by maij - 01.05.2010, 09:18
Re: SendClientMessage - by Sascha - 01.05.2010, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)