31.07.2012, 03:45
Hello,
I made a dialog that has a list of my servers commands. When i add one to the list, it gives me this ..
Then, here is the command im using ..
Is there a limit of adding?
I made a dialog that has a list of my servers commands. When i add one to the list, it gives me this ..
Код:
C:\Users\Dario\Desktop\SAMP Server\pawno\include\dutils.inc(31) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Dario\Desktop\SAMP Server\pawno\include\dutils.inc(135) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Dario\Desktop\SAMP Server\pawno\include\dutils.inc(175) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Dario\Desktop\SAMP Server\pawno\include\dutils.inc(283) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Dario\Desktop\SAMP Server\pawno\include\dutils.inc(340) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Dario\Desktop\SAMP Server\pawno\include\dutils.inc(382) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Dario\Desktop\SAMP Server\pawno\include\dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Dario\Desktop\SAMP Server\pawno\include\ladmin.inc(26) : warning 219: local variable "name" shadows a variable at a preceding level C:\Users\Dario\Desktop\SAMP Server\gamemodes\driftpro.pwn(2513) : error 075: input line too long (after substitutions) C:\Users\Dario\Desktop\SAMP Server\gamemodes\driftpro.pwn(2514) : error 035: argument type mismatch (argument 3) C:\Users\Dario\Desktop\SAMP Server\gamemodes\driftpro.pwn(2514) : error 017: undefined symbol "FF0000"
Код:
if(strcmp(cmdtext, "/cmds", true)==0 || strcmp("/commands",cmdtext,true)==0) { ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX, "Server Commands", "{FF0000}/Teles {FFFF00}For Teleports\n{FF0000}/Help {FFFF00}If Help Is Needed\n{FF0000}/Report {FFFF00}If You Saw A Hacker\n{FF0000}/Wheelpower {FFFF00}For Cool Rim Switching!\n{FF0000}/Boost {FFFF00}For Crazy Server Boost!\n{FF0000}/Radio {FFFF00}For Built In Server Radio!\n Use {FF0000}/AFK {FFFF00}If Your AFK, When Your Back, Use {FF0000}/Back!\n{FF0000}/Neon {FFFF00}& {FF0000}/Tune\n{FF0000}/PM {FFFF00}Private MSG\n{FF0000}/V {FFFF00}Vehicle ", "OK", ""); return 1; }