21.10.2018, 07:09
Hi Guyz,I am Getting a warning "
Here is my Code:
Define : #define ERROR_MSG "Unknown Command! Type /cmds For Available Commands."
Line :
PHP Code:
warning 235: public function lacks forward declaration (symbol "OnPlayerCommandPerformed")
Define : #define ERROR_MSG "Unknown Command! Type /cmds For Available Commands."
Line :
PHP Code:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
return SendClientMessage(playerid, COLOR_ERROR, ""ERROR_MSG"");
return 1;
}