server unknown command
#1

hello im facing a problem for example if i do /drink server says unknown command
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/drink", true)==0)
{
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "What is it that you want?", "Pepsi cola ($1)\nCoke ($2)\nBeer($3)", "Purchase", "Cancel");
    return 0;
}
help its just example i have many commands
Reply


Messages In This Thread
server unknown command - by Anak - 29.09.2012, 07:36
Re: server unknown command - by CaRa - 29.09.2012, 07:38
Re: server unknown command - by .v - 29.09.2012, 07:42
Re: server unknown command - by CaRa - 29.09.2012, 07:45
Re: server unknown command - by Anak - 29.09.2012, 07:49
Re: server unknown command - by CaRa - 29.09.2012, 07:51
Re: server unknown command - by Anak - 29.09.2012, 07:57
Re: server unknown command - by Anak - 29.09.2012, 07:59
Re: server unknown command - by RedJohn - 29.09.2012, 09:01
Re: server unknown command - by Gangster-rocks - 29.09.2012, 09:05

Forum Jump:


Users browsing this thread: 6 Guest(s)