Players go to the hospital when they die in a event
#4

What's wrong with this command? I'm putting it below OnPlayerDeath...

Код:
if(IsAtEvent[playerid] == 1)
     {
        SetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
		SetPlayerArmour(playerid, PlayerInfo[playerid][pArmor]);
		SetPlayerInterior(playerid, PlayerInfo[playerid][pInt]);
		SetPlayerPos(playerid, PlayerInfo[playerid][pEventj_x], PlayerInfo[playerid][pEventj_y], PlayerInfo[playerid][pEventj_z]);
		SetPlayerFacingAngle(playerid, PlayerInfo[playerid][pSPos_r]);
		SetCameraBehindPlayer(playerid);
		}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)