03.04.2013, 01:33
So yeah, I've placed so it turns you into the class selection on death put wont work.
Even when I Turn the TogglePlayerSpectating it will still do same shit.
Код:
public OnPlayerDeath(playerid, killerid, reason) { UsedHeal[playerid] = false; PlayerInfo[killerid][pKills] ++; PlayerInfo[playerid][pDeaths] ++; ForceClassSelection(playerid); return 1; }
Код:
public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); TogglePlayerSpectating(playerid, true); return 1; }