03.11.2010, 15:37
Hello im kinda stuck with couple errors here:
might help me with this, im kinda confused what to do next, the error definitions that i found
here http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf confuse me a bit...
thanks regards.
pawn Код:
(2572) : error 029: invalid expression, assumed zero
(2572) : error 029: invalid expression, assumed zero
(2572) : warning 215: expression has no effect
(2572) : error 001: expected token: ";", but found "]"
(2572) : fatal error 107: too many error messages on one line
pawn Код:
if(gangcmd==1) {
if(playerGang[playerid]>0) {
SendClientMessage(playerid, CWARN, "You are already in a gang!");
return 1;
}
for(new i = 1; i < MAX_GANGS; i++) {
if(gangInfo[i][0]==0) {
format(gangNames[i], MAX_GANG_NAME, "%s", tmp2);
gangInfo[i][0]=1;
gangInfo[i][1]=1;
(line 2572)>>> gangInfo[i][2]=PlColor[playerid];
gangMembers[i][0] = playerid;
format(string2, sizeof(string2),"You created gang '%s' (id: %d)", gangNames[i], i);
SendClientMessage(playerid, CINFO, string2);
format(string2, sizeof(string2),"Gang with the name : '%s' (id: %d) has been created by %s", gangNames[i], i, playername);
print(string2);
playerGang[playerid]=i;
return 1;
}
}
return 1;
here http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf confuse me a bit...
thanks regards.