SA-MP Forums Archive
Dialog Timing! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dialog Timing! (/showthread.php?tid=264267)



Dialog Timing! - Ronaldo_raul™ - 25.06.2011

Hello Guys....i just want a dialog to be appear on the screen of unregistered player on the server when spawn......
but the dialog should not be appear for the registered players.....how can i do that


Regards,
Ronaldo_raul™


Re: Dialog Timing! - [HiC]TheKiller - 25.06.2011

What login / register system are you using? Please post a bit of code so we can at least craft the code around something.


Re: Dialog Timing! - Ronaldo_raul™ - 27.06.2011

i am using LuX Admin......and i have the register system in-built in my GM......


Re: Dialog Timing! - Ronaldo_raul™ - 29.06.2011

its been 4 days and no answer ...please help me!


Re: Dialog Timing! - Shadoww5 - 29.06.2011

It would be something like:

PHP код:
if(AccInfo[playerid][Registered] == 0) { ShowPlayerDialog(playerid50DIALOG_STYLE_INPUT"REGISTER""Create a password for your account:""OK""CANCEL"); }
else { 
ShowPlayerDialog(playerid51DIALOG_STYLE_INPUT"LOGIN""Please input your password to login:""OK""CANCEL"); } 



Re: Dialog Timing! - Ronaldo_raul™ - 02.08.2011

Quote:
Originally Posted by Shadoww5
Посмотреть сообщение
It would be something like:

PHP код:
if(AccInfo[playerid][Registered] == 0) { ShowPlayerDialog(playerid50DIALOG_STYLE_INPUT"REGISTER""Create a password for your account:""OK""CANCEL"); }
else { 
ShowPlayerDialog(playerid51DIALOG_STYLE_INPUT"LOGIN""Please input your password to login:""OK""CANCEL"); } 
no i mean i have a rule dialog so i want to show it ..how..??