SA-MP Forums Archive
@yc pleaseeee - 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: @yc pleaseeee (/showthread.php?tid=396384)



@yc pleaseeee - Vizi - 30.11.2012

Hey please help me with those errors :@@@@@

pawn Код:
C:\Users\Daniel\Desktop\GamingClub RP\filterscripts\biznis.pwn(168) : error 017: undefined symbol "@yC_lockbiz"
C:\Users\Daniel\Desktop\GamingClub RP\filterscripts\biznis.pwn(168) : error 017: undefined symbol "@yC_lockbiz"
C:\Users\Daniel\Desktop\GamingClub RP\filterscripts\biznis.pwn(168) : error 017: undefined symbol "i"
C:\Users\Daniel\Desktop\GamingClub RP\filterscripts\biznis.pwn(168) : fatal error 107: too many error messages on one line
Line

pawn Код:
YCMD:lockbiz(playerid, params[])  //   <<------------------------
{
    new id = IsPlayerNearBizEnt(playerid);//Uses the function to find if player is near a biz!
    if(id != PlayerInfo[playerid][BizID]) return SCM(playerid, COLOR_GREY, "This isn't your biz!");
    if(BusinessInfo[id][bLocked] == 1)
    {
        BusinessInfo[id][bLocked] = 0;
        GameTextForPlayer(playerid, "Biz ~g~unlocked!", 3000, 3);
    }
    else
    {
        BusinessInfo[id][bLocked] = 1;
        GameTextForPlayer(playerid, "Biz ~r~locked!", 3000, 3);
    }
    return 1;
}
PLEASE HEEELp!


Re: @yc pleaseeee - electrux - 30.11.2012

Hmm.. Try to use ZCMD command processor. This looks like a syntax error or a problem in include or plugin.

Link for ZCMD :-
ZCMD

Or you can see this post of YCMD :-
YCMD