#1

I made command /vhelp for vips. I did it like for /ahelp and it shoud be fine but this happened
PHP код:
#define DIALOG_VIP    16   //654 line
CMD:vhelp(playeridparams[])
{
    if(
PlayerInfo[playerid][pVIP] >= 1)
    {
        
SPD(playeridDIALOG_VIPDIALOG_STYLE_MSGBOX"VIP Komande"//3676 line
        
"\nVIP LVL 1 =========== /vgoto\
        \nVIP LVL 2 =========== (u izradi)"
"Ok, ""); //3678 line
    }
    return 1;

Код:
C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(654) : warning 201: redefinition of constant/macro (symbol "DIALOG_VIP")
C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(3676 -- 3678) : error 037: invalid string (possibly non-terminated string)
C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(3678) : warning 215: expression has no effect
C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(3678) : error 001: expected token: ";", but found ")"
C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(3678) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(3678) : fatal error 107: too many error messages on one line

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


4 Errors.
What should i do?

EDIT:That dialog thing fixed. I allready defined it. But still can't fix other errors
Reply
#2

FIXED. I forgoth one " on this line
PHP код:
\nVIP LVL 2 =========== (u izradi)", "Ok""); 
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)