Question about animations
#1

Well, I'm wondering how I can actually put a Cigar / Beer into their hand... At the moment, I have:


pawn Код:
if(strcmp(cmd, "/drink", true) == 0)
    {
        SendClientMessage(playerid, purple, "* You take out a flask and take a chug of your vodka.");
        SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid) + 3000);
        SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
        return 1;
    }
and...

pawn Код:
if(strcmp(cmd, "/smoke", true) == 0)
    {
      SendClientMessage(playerid, purple, "* You take out a Cigar and light it up.");
      SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SMOKE_CIGGY);
    }
But it doesn't put an actual object into their hand, is there a specific function for this? If so, what is it?

Thanks,

Sky.
Reply


Messages In This Thread
Question about animations - by (.Aztec); - 03.09.2009, 00:18
Re: Question about animations - by Doppeyy - 03.09.2009, 00:46
Re: Question about animations - by (.Aztec); - 03.09.2009, 01:14
Re: Question about animations - by Abernethy - 03.09.2009, 04:44
Re: Question about animations - by Doppeyy - 03.09.2009, 12:19
Re: Question about animations - by (.Aztec); - 03.09.2009, 19:27

Forum Jump:


Users browsing this thread: 1 Guest(s)