[Tutorial] How to make inventory textdraw
#7

Код:
its Awesome But 
I try to add the Objects Hat
the Black Cowboyhat

CMD:add1(playerid,params[])
{
    AddItem(playerid,18962);
    return 1;
}

its not showing in the Inventory why ?

    if(listid == INVENTORY_MENU)
    {
        if(response)
        {
        if(modelid == 1239) return SendClientMessage(playerid,-1,"This slot no have item ");
        if(modelid == 1240)
        {
        SendClientMessage(playerid,-1,"Health = 100");
        SetPlayerHealth(playerid,100);
        RemoveItem(playerid,modelid);
        }
        if(modelid == 18962)
        {
        SendClientMessage(playerid,-1,"Black Cowboy Hat");
	 	SetPlayerAttachedObject(playerid, 0, modelid, 2);
        }

        
        SendClientMessage(playerid,-1,"Inventory");
        }
        else SendClientMessage(playerid, 0xFF0000FF, "Close Inventory");
    }

why its not showing i tried also other Hat object same thing...
Fixed Awesome
Reply


Messages In This Thread
How to make inventory textdraw - by VinPure - 23.08.2014, 03:50
Re: How to make inventory textdraw - by Cannary2048 - 23.08.2014, 04:48
Re: How to make inventory textdraw - by [WSF]ThA_Devil - 24.08.2014, 14:35
Re: How to make inventory textdraw - by JustinAn - 24.08.2014, 22:39
Re: How to make inventory textdraw - by VinPure - 02.09.2014, 14:32
Re: How to make inventory textdraw - by Snipa - 03.09.2014, 00:24
Re: How to make inventory textdraw - by MBilal - 26.01.2015, 12:06
Re: How to make inventory textdraw - by Izaki - 05.04.2015, 15:54
Re: How to make inventory textdraw - by Frasco95 - 12.05.2015, 17:18

Forum Jump:


Users browsing this thread: 2 Guest(s)