04.01.2011, 02:06
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); }