26.08.2010, 10:34
So i need to know how can i spawn player after death in place he died
Simple, huh? So explain it to me 
Simple, huh? So explain it to me 
Код:
public MaloZycia(playerid)
{
new Float:health;
GetPlayerHealth(playerid,health);
if (health < 2.0)
{
TogglePlayerControllable(playerid, 0);
ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.1,1,1,1,1,0,1);
SetTimer("bw",4800000,false);
}
}
public bw()
{
for (new i = 0; i < MAX_PLAYERS; i++)
TogglePlayerControllable(i, 1);
}


