14.05.2017, 14:11
Thank you.
I would like to know how PAWN.CMD used for irregular use.
Here is my code with strcmp
Resume
With PWN.CMD
No put my irregular variable.
Thanks.. (Bad English)
I would like to know how PAWN.CMD used for irregular use.
Here is my code with strcmp
Resume
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new HelpCMD[20];
format(HelpCMD, sizeof(HelpCMD), "/aide");
if(strcmp(HelpCMD, cmdtext, true, 10) == 0)
{
// My Code
return 1;
}
return 1;
}
PHP код:
cmd:HelpCMD(playerid, param[]) return 1;
Thanks.. (Bad English)