Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Dunno

$
0
0
I made command /vhelp for vips. I did it like for /ahelp and it shoud be fine but this happened
PHP Code:

#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;


Code:

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 (c) 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

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>