17.02.2015, 06:23
Hello, i want to make a /help command like this, but with ZCMD. what do i have to change? It says undefined symbol cmdtext...
Thanks
PHP Code:
new x_nr[256];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr))
{
SendClientMessage(playerid, RED, "Help Menu: |/help [name]|");
SendClientMessage(playerid, RED, "Name: Weapons");
return 1;
}
if(strcmp(x_nr,"weapons",true) == 0)
{
}