Is there.. - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is there.. (
/showthread.php?tid=203288)
Is there.. -
Jack_Blade - 26.12.2010
Is there a hunger filterscript with %, and with textdraw, i've searched, but no results-.-
Re: Is there.. -
Jack_Blade - 26.12.2010
Bumpzor
Re: Is there.. -
Leeroy. - 26.12.2010
Quote:
Originally Posted by Jack_Blade
Bumpzor
|
Wow Bumping so quick ? Read rules first.Next time use
search.
Re: Is there.. -
TouR - 26.12.2010
Man its hilarious to make one... Try script or use search
Re: Is there.. -
Mean - 26.12.2010
pawn Код:
//Top of script
forward HungerTimer(playerid, Float:health);
then
pawn Код:
public OnPlayerSpawn(playerid)
{
SetTimerEx("HungerTimer", 10000, 1, "i", playerid);
return 1;
}
then...
pawn Код:
public HungerTimer(playerid, Float:health)
{
GetPlayerHealth(playerid, health);
SetPlayerHealth(playerid, health - 5);
return 1;
}
Not what you wanted, but this FS takes a player 5 HP every 10 seconds, so he dies when he looses all HP
Re: Is there.. -
admantis - 26.12.2010
Quote:
Originally Posted by Mean
pawn Код:
//Top of script forward HungerTimer(playerid, Float:health);
then
pawn Код:
public OnPlayerSpawn(playerid) { SetTimerEx("HungerTimer", 10000, 1, "i", playerid); return 1; }
then...
pawn Код:
public HungerTimer(playerid, Float:health) { GetPlayerHealth(playerid, health); SetPlayerHealth(playerid, health - 5); return 1; }
Not what you wanted, but this FS takes a player 5 HP every 10 seconds, so he dies when he looses all HP
|
this only will force the player to go to burgershot every 60 seconds lol
Re: Is there.. -
Mean - 27.12.2010
Exactly,