12.08.2011, 00:55
Okay, So What i want is that when you die. You spawn in the same place. How do i do this?
new Float:X,Float:Y,Float:Z;
public OnPlayerDeath(playerid , killerid , reason)
{
GetPlayerPos(playerid,X,Y,Z);
return 1;
}
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid,X,Y,Z);
return 1;
}