29.09.2012, 23:48
Hi all, how to teleport a player ashore when falling?
Es code :
how to fix? thanks in advance!
Es code :
Код:
// setplayerpos in air new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x, y, z + 50.0);
Код:
// setplayerpos ashore new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x + 0.0, y + 0.0, z + 0.0);