Show dialog after clicking "Spawn" button
#3

Thanks but after clicking the Spawn button it spawned me together with Register Dialog. I only want the dialog in the OnPlayerRequestSpawn.

I want to to be like these:

-If Player pressed the Spawn button then it will show the Register Dialog (without spawning yet)
-Then after Player successfully registered the dialog will disappear then now Player can press the spawn button



Code:
public OnPlayerRequestSpawn(playerid)
{
	classSelection[playerid] = 0;
 	ShowRegisterScreen(playerid); <<-- Register Dialog
	return 1;
}
Reply


Messages In This Thread
Show dialog after clicking "Spawn" button - by kampuman - 13.07.2016, 00:25
Re: Show dialog after clicking "Spawn" button - by SilentSoul - 13.07.2016, 00:31
Re: Show dialog after clicking "Spawn" button - by kampuman - 13.07.2016, 00:40
Re: Show dialog after clicking "Spawn" button - by SilentSoul - 13.07.2016, 00:43
Re: Show dialog after clicking "Spawn" button - by kampuman - 13.07.2016, 00:44
Re: Show dialog after clicking "Spawn" button - by SilentSoul - 13.07.2016, 00:51
Re: Show dialog after clicking "Spawn" button - by kampuman - 13.07.2016, 01:11
Re: Show dialog after clicking "Spawn" button - by Napst34 - 13.07.2016, 02:51
Re: Show dialog after clicking "Spawn" button - by kampuman - 13.07.2016, 03:22

Forum Jump:


Users browsing this thread: 2 Guest(s)