rules like in Raven's ??
#1

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
Reply
#2

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)
Reply
#3

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
Reply
#4

No Problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)