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

Quote:
Originally Posted by Mr. Despair
Посмотреть сообщение
Код:
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);
		}
It just doesn't work. I get the event set up and I /joinevent and I /kill and I still get sent to the hospital...?
Try using DisableTeleports(playerid); in the OnPlayerDeath too
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)