[FilterScript] [FS]Drink System (Beer,Wine)
#12

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;
}

Reply


Messages In This Thread
[FS]Drink System (Beer,Wine) - by NappeR - 08.01.2010, 13:11
Re: [FS]Drink System (Beer,Wine) - by Rensieboy14 - 08.01.2010, 13:14
Re: [FS]Drink System (Beer,Wine) - by radi - 08.01.2010, 13:17
Re: [FS]Drink System (Beer,Wine) - by TheBug - 08.01.2010, 13:34
Re: [FS]Drink System (Beer,Wine) - by John Rockie - 08.01.2010, 13:34
Re: [FS]Drink System (Beer,Wine) - by Wampir66666 - 08.01.2010, 15:01
Re: [FS]Drink System (Beer,Wine) - by Den_Deluxe - 16.09.2010, 17:28
Re: [FS]Drink System (Beer,Wine) - by iXesiukas - 16.09.2010, 17:35
Re: [FS]Drink System (Beer,Wine) - by Basicz - 18.09.2010, 12:31
Re: [FS]Drink System (Beer,Wine) - by royal_king - 18.09.2010, 13:36
Re: [FS]Drink System (Beer,Wine) - by necrobg3 - 26.03.2011, 21:49
Re: [FS]Drink System (Beer,Wine) - by Tadas - 23.02.2014, 17:45
Re: [FS]Drink System (Beer,Wine) - by Kartoons - 04.01.2017, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)