Command adding
#1

I added a command but I is not coming up, it says SERVER:UNKNOWN COMMAND

public OnPlayerCommandText(playerid, cmdtext[])
{

if(!strcmp(cmdtext, "/drinks", true))
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "What is it that you want?", "Sprunk ($1)\nBeer ($2)\nWine ($3)", "Purchase", "Cancel");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}
Reply


Messages In This Thread
Command adding - by Goldilox - 28.07.2012, 10:00
Re: Command adding - by LaGrande - 28.07.2012, 10:08
Re: Command adding - by Kindred - 28.07.2012, 10:13
Re: Command adding - by Hervest1998 - 28.07.2012, 10:15
Re: Command adding - by Goldilox - 28.07.2012, 10:16
Re: Command adding - by Devilxz97 - 28.07.2012, 11:03
Re: Command adding - by Devilxz97 - 28.07.2012, 11:07
Re: Command adding - by Goldilox - 28.07.2012, 12:04
Re: Command adding - by Devilxz97 - 28.07.2012, 12:11

Forum Jump:


Users browsing this thread: 1 Guest(s)