OnPlayerRequestClass Login Dialog
#1

pawn Код:
ShowDialog(playerid, 2);
This opens the Login dialog after it checks whether the user is registered.

It's under
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
which means it has a spawn button before logging in, if someone presses it, it doesn't spawn them because the dialog opens back up and it automatically spawns them in the place they quit last but after pressing the spawn button and when it gets to the tutorial, the tutorial ends, the player spawns and the tutorial repeats itself after the player spawns, quite hard to explain but I'm sure it's because of this. Is there any other place I can put this?
Reply


Messages In This Thread
OnPlayerRequestClass Login Dialog - by WinterAce - 16.12.2012, 19:53
Re: OnPlayerRequestClass Login Dialog - by zDevon - 17.12.2012, 00:54
Re: OnPlayerRequestClass Login Dialog - by WinterAce - 17.12.2012, 01:18
Re: OnPlayerRequestClass Login Dialog - by zDevon - 17.12.2012, 01:51
Re: OnPlayerRequestClass Login Dialog - by WinterAce - 17.12.2012, 02:06

Forum Jump:


Users browsing this thread: 1 Guest(s)