31.05.2009, 07:11
Hey guys. I'm trying to make a command in a INCLUDE , but i can't ... When i type the command , nathing happend.
e.g. in INCLUDE:
I type /hi and he didn't show me anything
e.g. in INCLUDE:
pawn Код:
#include <a_samp>
#define OnPlayerCommandText CMD
forward CMD(playerid, cmdtext[]);
public CMD(playerid, cmdtext[]);
{
if(!strcmp(cmdtext,"/hi",true))
{
SendClientMessage(playerid,0xFF,"Hello");
return 1;
}
}