Server Command Fail
#10

Here
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/buyglasses", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid,25,DIALOG_STYLE_LIST,"Glasses","Glasses Type 1 \nGlasses Type 2 \nGlasses Type 3 \nGlasses Type 4 \nGlasses Type 5 \nGlasses Type 6 \nGlasses Type 7 \nGlasses Type 8 \nGlasses Type 9 \nGlasses Type 10 \nNext Page","Open","Close");
        return 1;
    }
    if (strcmp("/removeglasses",cmdtext,true, 10) == 0)
    {
        if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
        return 1;
    }
    return 0;
}
There is the full OnPlayerCommandText
Reply


Messages In This Thread
Server Command Fail - by A.Johnson - 10.10.2011, 11:24
Re: Server Command Fail - by Josma_cmd - 10.10.2011, 11:33
Re: Server Command Fail - by A.Johnson - 10.10.2011, 11:38
Re: Server Command Fail - by Josma_cmd - 10.10.2011, 11:42
Re: Server Command Fail - by A.Johnson - 10.10.2011, 11:43
Re: Server Command Fail - by Jafet_Macario - 10.10.2011, 11:44
Re: Server Command Fail - by Josma_cmd - 10.10.2011, 11:46
Re: Server Command Fail - by A.Johnson - 10.10.2011, 11:47
Re: Server Command Fail - by A.Johnson - 10.10.2011, 11:53
Re: Server Command Fail - by Jason_Thunde - 10.10.2011, 12:11

Forum Jump:


Users browsing this thread: 3 Guest(s)