23.02.2014, 17:45
In this filterscript added just this code, it's very simple o_O:
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/Drinkbeer", cmdtext, true, 10) == 0) { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRI NK_BEER); return 1; } if (strcmp("/Drinkwine", cmdtext, true, 10) == 0) { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRI NK_WINE); return 1; } return 0; } |