rules like in Raven's ?? - 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: rules like in Raven's ?? (
/showthread.php?tid=296348)
rules like in Raven's ?? -
Mr.Fames - 11.11.2011
Hello guys i have my server up and runing at 141.138.195.19:7780, and i was wondering when i type rules it shows me the rules normally on the chatbox but i want it like raven's when u type /rules a window pops up i was wondering how to make that window, thx in advance
Re: rules like in Raven's ?? -
-CaRRoT - 11.11.2011
Here..
pawn Код:
if(!strcmp(cmdtext, "/rules", true))
{
ShowPlayerDialog(playerid,DIALOG_RULES, DIALOG_STYLE_MSGBOX, ""COL_YELLOW"Server Rules", "Rule 1\nRule2\nRule3\nRule4", "Okay", "Cancel");
return 1;
}
Also add this at the Top : #define DIALOG_RULES (30000)
Re: rules like in Raven's ?? -
Mr.Fames - 11.11.2011
Quote:
Originally Posted by Breto
Here..
pawn Код:
if(!strcmp(cmdtext, "/rules", true)) { ShowPlayerDialog(playerid,DIALOG_RULES, DIALOG_STYLE_MSGBOX, ""COL_YELLOW"Server Rules", "Rule 1\nRule2\nRule3\nRule4", "Okay", "Cancel"); return 1; }
Also add this at the Top : #define DIALOG_RULES (30000)
|
wow man thx alot i really appropriate it
Re: rules like in Raven's ?? -
-CaRRoT - 11.11.2011
No Problem