03.09.2009, 00:18
Well, I'm wondering how I can actually put a Cigar / Beer into their hand... At the moment, I have:
and...
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.
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;
}
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);
}
Thanks,
Sky.