ReloadBox Error
#1

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];
		CMDMessageToAdmins(playerid,"RELOADBOX");
		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);
and
Код:
Line 15092 = new size = strval(params), string[128];
Reply
#2

do you have any function called "ReLoadBox( size )" ?

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)