Lacks Forward Declaration
#1

C:\Users\Nicholas\Desktop\GWDM\gamemodes\GWDM.pwn( 620) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandPerformed")

Code:
Код:
public OnPlayerCommandPerformed( playerid, cmdtext[], success )
{
	if(!success) SendClientMessage(playerid, COLOR_WHITE, "SERVER: Unknown Command. Please use /cmds for more information.");
	return 1;
}
This is supposed to make the text when a player enters an unknown command to be that, but I can't seem to figure out this warning. Any help?
Reply


Messages In This Thread
Lacks Forward Declaration - by nicholasramdhan - 11.04.2015, 21:16
AW: Lacks Forward Declaration - by Mencent - 11.04.2015, 21:18
Re: Lacks Forward Declaration - by Puppy - 11.04.2015, 21:21
Re: Lacks Forward Declaration - by nicholasramdhan - 11.04.2015, 21:23

Forum Jump:


Users browsing this thread: 1 Guest(s)