mardi 12 juillet 2016

Show dialog after clicking "Spawn" button

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;
}

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.
Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting.



Show dialog after clicking "Spawn" button

Aucun commentaire:

Enregistrer un commentaire