03.09.2009, 20:50
Hey,
my class selection is gone, and I can't see what is wrong.
And yes, I tried to change return 0; to return 1; but that doesn't change anything.
Thanks!
my class selection is gone, and I can't see what is wrong.
Код:
public OnPlayerRequestClass(playerid, classid) { if(IsPlayerNPC(playerid)) return 1; if(gPlayerHasCitySelected[playerid]) { ClassSel_SetupCharSelection(playerid, classid); return 1; } else { if(GetPlayerState(playerid) != PLAYER_STATE_SPECTATING) { TogglePlayerSpectating(playerid,1); TextDrawShowForPlayer(playerid, txtClassSelHelper); gPlayerCitySelection[playerid] = -1; } } return 0; }
Thanks!