Where is my class selection?
#1

Hey,

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;
}
And yes, I tried to change return 0; to return 1; but that doesn't change anything.

Thanks!
Reply
#2

Nobody knows how to fix it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)