20.06.2010, 18:35
Fixed.
Credits: mprofitt
Credits: mprofitt
Originally Posted by ♂ Antonio [G-RP
]
I lowered it from 9 to 4, but I can't seem to fix these. Code: pawn Код:
Код:
C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(829) : error 028: invalid subscript (not an array or too many subscripts): "IsCarColorValid" C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(831) : warning 217: loose indentation C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(860) : error 010: invalid function or declaration C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(863) : error 010: invalid function or declaration |
if((IsCarColorValid(col1) && (IsCarColorValid(col2))
Originally Posted by DeathOnaStick
Then i'd need 860 and 863, the lose indentation error comes from the whitespace that is not set correctly.
|
else //860
{
SendClientMessage(playerid, color_red, "[Error]: You aren't at the Grotti Car Dealership.");
return 1; //863
}
C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(810) : warning 219: local variable "col2" shadows a variable at a preceding level C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(829) : error 028: invalid subscript (not an array or too many subscripts): "IsCarColorValid" C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(830) : warning 215: expression has no effect C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(830) : warning 215: expression has no effect C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(830) : warning 215: expression has no effect C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(830) : warning 215: expression has no effect C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(830) : error 001: expected token: ";", but found ")" C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(830) : warning 217: loose indentation C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(830) : error 029: invalid expression, assumed zero C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(830) : warning 215: expression has no effect C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(860) : error 010: invalid function or declaration C:\Users\Lachlan\Desktop\0.3a DRP\pawno\BNS.pwn(863) : error 010: invalid function or declaration