04.05.2013, 22:52
Hi
I get some error at compiling. And i need little bit help Someone will be so nice?
1)
Errors:
(9 -- 14) : error 010: invalid function or declaration
(307) : warning 219: local variable "string" shadows a variable at a preceding level
Lines:
L9 - 14:
L307: CMD:group(playerid, params[])
2)
Errors:
error 021: symbol already defined: "CreateDynamicObject"
error 010: invalid function or declaration
and if i put "#define CreateDynamicObject" then come that errors:
error 010: invalid function or declaration
3)
Errors:
(10) : error 029: invalid expression, assumed zero
(10) : warning 215: expression has no effect
L10: biz = KasutajaInfo[playerid][pBizzKey],
4)
Errors:
(891) : error 010: invalid function or declaration
(894) : error 010: invalid function or declaration
(895) : error 010: invalid function or declaration
(910) : error 010: invalid function or declaration
(935) : error 054: unmatched closing brace ("}")
(1374) : error 013: no entry point (no public functions)
Lines:
L891: OldWeapon{playerid} = 0;
L884: SetPlayerArmedWeapon(playerid, 0);
L895: return true;
L910: stock GetPlayerMoneyEx(playerid) return KasutajaInfo[playerid][pCash];
L935: stock ProxDetector(Float:radi, playerid, string[], color)
L1374: stock IsAWindowCar(playerid)
Other Problem:
Parts of a file in a way that if I compiled it must be a message that pawno crashed but others do not run. Somehow the repairable?
I get some error at compiling. And i need little bit help Someone will be so nice?
1)
Errors:
(9 -- 14) : error 010: invalid function or declaration
(307) : warning 219: local variable "string" shadows a variable at a preceding level
Lines:
L9 - 14:
Код:
CMD:fsell(playerid, params[]) { new g_Kuur[ 128 ], teine, kogus } if( KasutajaInfo[ playerid ][ pMember ] != 14 ) return SendClientMessage( playerid, COLOR_WHITE, "You don't work in farm." ); if( sscanf( params, "us[28]d", teine, params, kogus ) ) return SendClientMessage( playerid, COLOR_WHITE, "Example: /fsell [id] [productname] [kamount]" );
2)
Errors:
error 021: symbol already defined: "CreateDynamicObject"
error 010: invalid function or declaration
and if i put "#define CreateDynamicObject" then come that errors:
error 010: invalid function or declaration
3)
Errors:
(10) : error 029: invalid expression, assumed zero
(10) : warning 215: expression has no effect
L10: biz = KasutajaInfo[playerid][pBizzKey],
4)
Errors:
(891) : error 010: invalid function or declaration
(894) : error 010: invalid function or declaration
(895) : error 010: invalid function or declaration
(910) : error 010: invalid function or declaration
(935) : error 054: unmatched closing brace ("}")
(1374) : error 013: no entry point (no public functions)
Lines:
L891: OldWeapon{playerid} = 0;
L884: SetPlayerArmedWeapon(playerid, 0);
L895: return true;
L910: stock GetPlayerMoneyEx(playerid) return KasutajaInfo[playerid][pCash];
L935: stock ProxDetector(Float:radi, playerid, string[], color)
L1374: stock IsAWindowCar(playerid)
Other Problem:
Parts of a file in a way that if I compiled it must be a message that pawno crashed but others do not run. Somehow the repairable?