Help with Script (rep ++) - 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)
+--- Thread: Help with Script (rep ++) (
/showthread.php?tid=331256)
Help with Script (rep ++) -
boyan96 - 04.04.2012
How i can make when player connect to show the server rules and after that to show dialog for register or login (my register system is already made)
Re: Help with Script (rep ++) -
Reklez - 04.04.2012
pawn Код:
//OnPlayerConnect
ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Rules", "Your rules word here", "Accept", ""); //remember for newline just do /n
then OnDialogResponse
pawn Код:
if(dialogid == dialogid) //replace dialogid (the second one) with your rules dialog id
{
if(response)
{
//your reg/log showplayerdialog here
}
}