Little Help!
#1

Hello.I got problem with /acmds command.I dont see error

CODE:
pawn Код:
CMD:acmds( playerid, params[ ] )
{
    if ( GetPVarInt( playerid, "Level" ) < 1 )
        return SendClientMessage( playerid, -1, "You must be an Admin level 1 or above to view the commands");

    new CBox[ 512 ];
    format( CBox, sizeof CBox, "{FFFFFF}Current Admin commands\n\n\n\
                                "
COL_RED"Level {FFFFFF}1 "COL_RED"- {FFFFFF}( "COL_RED""Level1" {FFFFFF})\n\");

    format( CBox, sizeof CBox, "
%s/sethealth /setarmour /heal /kick\n\n\
                                "COL_RED"Level {FFFFFF}2 "COL_RED"- {FFFFFF}( "COL_RED""Level2" {FFFFFF})\n\", CBox);

    format( CBox, sizeof CBox, "
%s/akill /mute /unmute /freeze /unfreeze /spawn\n\n\
                                "COL_RED"Level {FFFFFF}3 "COL_RED"- {FFFFFF}( "COL_RED""Level3" {FFFFFF})\n\", CBox);

    format( CBox, sizeof CBox, "
%s/ban /setmoney /setscore\n\n\
                                "COL_RED"Level {FFFFFF}4 "COL_RED"- {FFFFFF}( "COL_RED""Level4" {FFFFFF})\n\", CBox);

    format( CBox, sizeof CBox, "
%s/gmx /settime /setweather\n\n\
                               "COL_RED"Level {FFFFFF}5 "COL_RED"- {FFFFFF}( "COL_RED""Level5" {FFFFFF})\n\
                               /setlevel /setvip", CBox);

    ShowPlayerDialog( playerid, INFO_BOX, DIALOG_STYLE_MSGBOX, "
{FFFFFF}Admin Commands", CBox, "Oke", "");
    return 1;
}
ERRORS
Код:
D:\samp03dsvr_win32(1)\filterscripts\AdminS.pwn(577) : error 037: invalid string (possibly non-terminated string)
D:\samp03dsvr_win32(1)\filterscripts\AdminS.pwn(577) : error 029: invalid expression, assumed zero
D:\samp03dsvr_win32(1)\filterscripts\AdminS.pwn(577) : error 017: undefined symbol "FFFFFF"
D:\samp03dsvr_win32(1)\filterscripts\AdminS.pwn(577) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Please like god help me!
Reply
#2

Can you show line 577?
You most likely forgot a " at the end of a string
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)