21.02.2010, 03:37
How do i check a player's area? If he isnt in that area it must spawn him in another position!
I tried with onplayerupdate and the code:
But it isnt working how i needed
I tried with onplayerupdate and the code:
Код:
if(!IsPlayerInArea(playerid, -234.8402,105.4832,-171.2079,-101.6946)) { SetPlayerPos(playerid,tdm2att[rand][0],tdm2att[rand][1],tdm2att[rand][2]); }