03.08.2009, 16:21
Quote:
Originally Posted by [HLF
Southclaw ]
if(!strcmp(cmdtext,"/MyWeed",true)) { new hasweed; hasweed[playerid] = hasweed[playerid]; format(string, sizeof(string, "You have %d weed!", hasweed[playerid); return 1; } |
Код:
C:\Documents and Settings\home\Desktop\Salims folder\_gamemodes__gamemodes_SalsTestingGrounds.pwn(805) : warning 219: local variable "hasweed" shadows a variable at a preceding level C:\Documents and Settings\home\Desktop\Salims folder\_gamemodes__gamemodes_SalsTestingGrounds.pwn(806) : error 028: invalid subscript (not an array or too many subscripts): "hasweed" C:\Documents and Settings\home\Desktop\Salims folder\_gamemodes__gamemodes_SalsTestingGrounds.pwn(806) : warning 215: expression has no effect C:\Documents and Settings\home\Desktop\Salims folder\_gamemodes__gamemodes_SalsTestingGrounds.pwn(806) : error 001: expected token: ";", but found "]" C:\Documents and Settings\home\Desktop\Salims folder\_gamemodes__gamemodes_SalsTestingGrounds.pwn(806) : error 029: invalid expression, assumed zero C:\Documents and Settings\home\Desktop\Salims folder\_gamemodes__gamemodes_SalsTestingGrounds.pwn(806) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.