ForceClassSelection bug
#1

I've got a problem, i have a command which will despawn the player and show a character selection dialog. But the problem is once the person has clicked spawn on the dialog and spawn's fine (on first connect), if the player uses the command to go back to choose another character and click spawn it'll just stay at the character selection screen and not spawn.

Код:
	if (strcmp("/mainmenu", cmdtext, true, 9) == 0)
	{
		SaveCharacter(playerid);
		ForceClassSelection(playerid);
		SetPlayerHealth(playerid,0);
		ResetPlayerCharacterVariables(playerid);
		MasterAccount[playerid][mCharacterSlotInUse] = 0;
		ShowMenuDialog(playerid);
		return 1;
	}
When the player clicks spawn, it sets spawn info and spawns the player.
Reply


Messages In This Thread
ForceClassSelection bug - by Norn - 26.01.2010, 23:13
Re: ForceClassSelection bug - by shady91 - 26.01.2010, 23:27
Re: ForceClassSelection bug - by Norn - 26.01.2010, 23:29
Re: ForceClassSelection bug - by shady91 - 26.01.2010, 23:38
Re: ForceClassSelection bug - by Norn - 26.01.2010, 23:39
Re: ForceClassSelection bug - by shady91 - 26.01.2010, 23:46

Forum Jump:


Users browsing this thread: 1 Guest(s)