Warning...
#1

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

Reply
#2

Only certain command processors provide this callback, what do you use for commands?
Reply
#3

Quote:
Originally Posted by Calisthenics
View Post
Only certain command processors provide this callback, what do you use for commands?
I am just using that if player perform any unknown command,The Message appears,The "ERROR_MSG"
Reply
#4

That callback is used by zcmd. Have you included zcmd?|

pawn Code:
#include zcmd
Reply
#5

Quote:
Originally Posted by UFF
View Post
That callback is used by zcmd. Have you included zcmd?|

pawn Code:
#include zcmd
Thanks Dude,I forgot to write...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)