24.04.2016, 11:06
Not sure if it works, i just made it :P:
PHP код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i)) continue;
{
if(IsPlayerInRangeOfPoint(i, 5.0, x, y, z))
{
SetPlayerPos(i, x, y, z+3);
SendClientMessage(i, 0xFF000FF, "blablabla");
}
return 1;
}
return 1;
}