GetPlayerHealth(playerid) needs 2 params???
#6

replace with this :
Quote:

stock TeleportPlayer(playerid, Float, Float:y, Float:z, Float:angle)
{
new Float: health;
GetPlayerHealth(playerid,health);
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;
}

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)