30.10.2009, 18:29
...hmmm
I cant figure out, how they can hold a bottle in their hand or something?
Any help or wiki page?
I cant figure out, how they can hold a bottle in their hand or something?
Any help or wiki page?
20 - SPECIAL_ACTION_DRINK_BEER - Will increase the player's drunk level when used 21 - SPECIAL_ACTION_SMOKE_CIGGY - Will give the player a cigar 22 - SPECIAL_ACTION_DRINK_WINE - Will give the player a wine bottle to get drunk from 23 - SPECIAL_ACTION_DRINK_SPRUNK - Will give the player a sprunk bottle to drink from
|
Originally Posted by TeRRoRism
Thanks,
But you said while recording... whats the cmd ![]() |
|
Originally Posted by IntrozeN
Quote:
Will give the player a beer bottle, and when you press fire while holding it, drunk level increases |
if (strcmp(cmdtext, "/drink", true) == 0)
{
SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DRINK_BEER );
SendClientMessage(playerid, 0xFFFFFFAA, "dont drink too much ! ");
return 1;
}
if (strcmp(cmdtext, "/ciggy", true) == 0)
{
SetPlayerSpecialAction (playerid, SPECIAL_ACTION_SMOKE_CIGGY );
SendClientMessage(playerid, 0xFFFFFFAA, "Dont smoke too much ! ! ");
return 1;
}
if (strcmp(cmdtext, "/wine", true) == 0)
{
SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DRINK_WINE );
SendClientMessage(playerid, 0xFFFFFFAA, "Dont drink! ");
return 1;
}