When you die inside of an event you get sent to the hospital?
#7

Код:
if(IsAtEvent[playerid]) // or whatever variable that defines the player is in an event
{
new Float:X, Float:Y, Float:Z, Float:A;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid,A);
SetSpawnInfo(playerid, playerid, PlayerInfo[playerid][pModel],X, Y, Z, A, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
return 1;
}
This is what I have but when I die in an event, I still get sent to the hospital.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)