F:\*****\Tester\filterscripts\GangSystem.pwn(1426) : error 017: undefined symbol "total" F:\*****\Tester\filterscripts\GangSystem.pwn(1427) : error 017: undefined symbol "playerid" F:\*****\Tester\filterscripts\GangSystem.pwn(1429) : error 017: undefined symbol "playerid" F:\*****\Tester\filterscripts\GangSystem.pwn(1430) : error 017: undefined symbol "i"
1426:format(msg, sizeof(msg), "{FFFFFF}[{FFA000}GANG{FFFFFF}] {00FFB4}Your gang successfully captured '%s' with %d alive player(s)!", GangZone[zoneid][ZoneName],total); 1427:SendGangMessage(Player[playerid][PlayerGang], msg); 1428:format(msg, sizeof(msg), "{FFFFFF}[{FFA000}GANG{FFFFFF}] {00FFB4}The gang gained 7 gang score and each member $20,000 who were tied."); 1429:SendGangMessage(Player[playerid][PlayerGang], msg); 1430:format(msg, sizeof(msg), "{FFFFFF}GEF {FFA000} Gang %s captured zone '%s' which was territory of %s", Gang[gangid][GangName], GangZone[zoneid][ZoneName], GangZone[i][ZoneOwner]);
stock bool:CheckGang(gangid) { new total = 0, query[128]; mysql_format(connection, query, sizeof(query), "SELECT count(*) AS `total` FROM `member` WHERE `gang` = %d", Gang[gangid][GangID]); mysql_query(connection, query, true); total = (cache_num_rows() > 0) ? cache_get_field_content_int(0, "total") : 0; return (total >= MAX_GANG_MEMBER) ? false : true; }
F:\************\Tester\filterscripts\GangSystem.pwn(1426) : error 017: undefined symbol "playerid" F:\************\Tester\filterscripts\GangSystem.pwn(1428) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
SendGangMessage(Player[playerid][PlayerGang], msg); SendGangMessage(Player[playerid][PlayerGang], msg);
Код:
F:\************\Tester\filterscripts\GangSystem.pwn(1426) : error 017: undefined symbol "playerid" F:\************\Tester\filterscripts\GangSystem.pwn(1428) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. Код:
SendGangMessage(Player[playerid][PlayerGang], msg); SendGangMessage(Player[playerid][PlayerGang], msg); |
Instead of just throwing up the code how everyone tells you to, maybe learn what is scripting and then fix this small issue your self. All what it needs is some knowledge.
|