SA-MP Forums Archive
/rules command - 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 command (/showthread.php?tid=523909)



/rules command - Frankin - 04.07.2014

Greetings ,
i'm looking for someone to give me /rules command with dialogs now game text

Thanks


Re: /rules command - YanLanger - 04.07.2014

Here you go..if worked rep please :P if ya want ofc
Код:
CMD:rules(playerid,params[])
{
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Rules", "1. Blah blah.\r\n2. blah blah\r\n3. blah blah blaah\r\nblaaaaah", OK", "Exit");
    return 1;
}



Re: /rules command - Frankin - 04.07.2014

Quote:
Originally Posted by YanLanger
Посмотреть сообщение
Here you go..if worked rep please :P if ya want ofc
Код:
CMD:rules(playerid,params[])
{
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Rules", "1. Blah blah.\r\n2. blah blah\r\n3. blah blah blaah\r\nblaaaaah", OK", "Exit");
    return 1;
}
Quote:

C:\Documents and Settings\Ayman\Desktop\New Folder (2)\gamemodes\Test.pwn(1746) : error 017: undefined symbol "OK"
C:\Documents and Settings\Ayman\Desktop\New Folder (2)\gamemodes\Test.pwn(1746) : warning 215: expression has no effect
C:\Documents and Settings\Ayman\Desktop\New Folder (2)\gamemodes\Test.pwn(1746) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\Ayman\Desktop\New Folder (2)\gamemodes\Test.pwn(1746) : error 017: undefined symbol "Exit"
C:\Documents and Settings\Ayman\Desktop\New Folder (2)\gamemodes\Test.pwn(1746) : fatal error 107: too many error messages on one line

what should i do?


Re: /rules command - rockhopper - 04.07.2014

OK", "Exit" To "OK", "Exit"


Re: /rules command - YanLanger - 04.07.2014

can you send me your script on skype ?


Re: /rules command - iOxide - 04.07.2014

pawn Код:
CMD:rules(playerid,params[])
{
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Rules", "1. Blah blah.\r\n2. blah blah\r\n3. blah blah blaah\r\nblaaaaah", "OK", "Exit");
    return 1;
}
That what happens when you just copy and paste without checking the script. You missed " with OK button.


Re: /rules command - Frankin - 04.07.2014

Quote:
Originally Posted by rockhopper
Посмотреть сообщение
OK", "Exit" To "OK", "Exit"
Thanks you
got no errors now

repped

YanLanger : Don't worry i will rep you too