View Full Version : ReloadBox Error

07/05/2014, 03:16 AM
C:\Users\MICASAM\Desktop\pawno\***(15095) : error 017: undefined symbol "ReLoadBox"
C:\Users\MICASAM\Desktop\pawno\***(15092) : warning 204: symbol is assigned a value that is never used: "size"

CMD:reloadbox(playerid,params[]) {
if(PlayerInfo[playerid][Level] >= 6) {
if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /reloadbox [size] use -45 for the size.");
new size = strval(params), string[128];
format(string,sizeof(string),"%s has reload message box.", GetName(playerid)); SendClientMessageToAll(blue,string);
return ReLoadBox(size);
} else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");

Line 15095 = return ReLoadBox(size);
Line 15092 = new size = strval(params), string[128];

07/05/2014, 11:20 AM
do you have any function called "ReLoadBox( size )" ?

also, for the warning; if the error is fixed, the warning will probably be gone;

07/05/2014, 12:14 PM
If you don't use the variable 'size', the pawn show you the warning.
For the ReLoAdBox you must check if you have a function in the script called "ReLoAdBox", select 'Find' and type 'public ReLoAdBox' or 'stock ReLoAdBox', and look if you find any function.