SA-MP Forums Archive
[FilterScript] My First FS :Hungry System (with Progress Bar) nice for RP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] My First FS :Hungry System (with Progress Bar) nice for RP (/showthread.php?tid=352345)

Pages: 1 2


Re: My First FS :Hungry System (with Progress Bar) nice for RP - Don_Gambino - 22.06.2012

Nice one,Ibnu ane farhan gimma rep


Re: My First FS :Hungry System (with Progress Bar) nice for RP - RipLagger - 23.06.2012

Quote:
Originally Posted by Don_Gambino
Посмотреть сообщение
Nice one,Ibnu ane farhan gimma rep
wani piro? hahaha


Re: My First FS :Hungry System (with Progress Bar) nice for RP - Lordzy - 23.06.2012

Nice WoRk.


Re: My First FS :Hungry System (with Progress Bar) nice for RP - RipLagger - 23.06.2012

Quote:
Originally Posted by [xB]Lordz
Посмотреть сообщение
Nice WoRk.
thanks


Re: My First FS :Hungry System (with Progress Bar) nice for RP - iWind - 26.06.2012

Quote:
Originally Posted by christiand
Посмотреть сообщение
One suggestion :

At eat you should have something like :

Код:
if( health < 100 )
	{
		if(IsPlayerInRangeOfPoint(playerid, 20, 366.0248, -73.3478, 1001.5078))
		{
	    	GivePlayerMoney(playerid, -50);
	    	SetPlayerHealth(playerid,health+6);
	    	SetProgressBarValue(hungry[playerid], GetProgressBarValue(hungry[playerid])+15);
			return SendClientMessage(playerid, COLOR_BLUE, "Thanks For Buying Burger Enjoy The Food");
		}
		if(IsPlayerInRangeOfPoint(playerid, 50, 372.3520, -131.6510, 1001.4922))
		{
	    	GivePlayerMoney(playerid, -70);
	    	SetPlayerHealth(playerid,health+15);
	    	SetProgressBarValue(hungry[playerid], GetProgressBarValue(hungry[playerid])+25);
			return SendClientMessage(playerid, COLOR_BLUE, "Thanks For Buying Pizza Enjoy The Food");
		}
		if(!IsPlayerInRangeOfPoint(playerid, 50, 365.7158, -9.8873, 1001.8516))
		{
	    	GivePlayerMoney(playerid, -35);
	    	SetPlayerHealth(playerid,health+4);
	    	SetProgressBarValue(hungry[playerid], GetProgressBarValue(hungry[playerid])+12);
			return SendClientMessage(playerid, COLOR_BLUE, "Thanks For Buying Fried Chicken Enjoy The Food");
		}
	}
	else
	{
	    SendClientMessage(playerid, COLOR_BLUE, "Your hp is full.");
	}
or will get abused .
Is it better to set their HP to 100..


Re: My First FS :Hungry System (with Progress Bar) nice for RP - RipLagger - 28.06.2012

New Update!!!


Re: My First FS :Hungry System (with Progress Bar) nice for RP - FaldiGunZ - 08.07.2012

This is nice filterscript,im using it for my server,i will give rep for you


Re: My First FS :Hungry System (with Progress Bar) nice for RP - RipLagger - 08.07.2012

Quote:
Originally Posted by FaldiGunZ
Посмотреть сообщение
This is nice filterscript,im using it for my server,i will give rep for you
Thanks dude


Respuesta: My First FS :Hungry System (with Progress Bar) nice for RP - Gamer_007 - 08.07.2012

nice nice release


Re: My First FS :Hungry System (with Progress Bar) nice for RP - rami.chaar2 - 17.07.2012

thxx man i will be using it in my trucking server join guys i am new to samp


Re: My First FS :Hungry System (with Progress Bar) nice for RP - [WA]iRonan - 30.11.2012

nice, but how we add cluckin bell etc. ?


Re: My First FS :Hungry System (with Progress Bar) nice for RP - Ballu Miaa - 30.11.2012

I created this particular system for my RP Server also which has been integrated with Character Attributes. I think mine one is better as it has more features but yeah!

Good one mate.


Re: My First FS :Hungry System (with Progress Bar) nice for RP - RipLagger - 25.12.2012

Quote:
Originally Posted by [WA]iRonan
View Post
nice, but how we add cluckin bell etc. ?
u can use gl_property
if have a free time i will create the restaurant maker


Re: My First FS :Hungry System (with Progress Bar) nice for RP - RenovanZ - 26.12.2012

Wow, Nice Rasyid Ibnu P :v
Hey, Im Renovan Zidane/Gentarou


Re: My First FS :Hungry System (with Progress Bar) nice for RP - Unirom Shaw - 26.12.2012

Nice One