30.11.2012, 18:12
Hey please help me with those errors :@@@@@
Line
PLEASE HEEELp!
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
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;
}