02.08.2012, 10:27
When i die i get this why?

and have this under SetPlayerSpawn

and have this under SetPlayerSpawn
pawn Код:
}
if(Died[playerid] == 1)
{
SetPlayerInterior(playerid,dint[playerid]);
SetPlayerVirtualWorld(playerid,dworld[playerid]);
//SetPlayerPos(playerid,dx[playerid],dy[playerid],dz[playerid]);
TogglePlayerControllable(playerid,0);
SetPlayerHealthEx(playerid, 1);
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
SendClientMessage(playerid,COLOR_WHITE,"To accept your death type /accept death");
dx[playerid] = 0;
dy[playerid] = 0;
dz[playerid] = 0;
dint[playerid] = 0;
dworld[playerid] = 0;
return 1;