11.05.2011, 21:45
pawn Код:
stock TeleportPlayer(playerid, Float:x, Float:y, Float:z, Float:angle)
{
new health = GetPlayerHealth(playerid);
Streamer_UpdateEx(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z + 2.5);
Streamer_UpdateEx(playerid, x, y, z);
SetPlayerFacingAngle(playerid, angle);
PlayerPlaySound(playerid, 1085, x, y, z);
SetPlayerHealth(playerid, health);
return 1;
}