SA-MP Forums Archive
Drug Addiction - 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: Drug Addiction (/showthread.php?tid=178764)



Drug Addiction - Karl1195 - 23.09.2010

I would like to script a drug addiction in my server i had few ideas of it i tryed to script it but i never was able to do it so i decided to ask here maybe some one can help me:

I would like that when you /usedrugs weed ... get armour [[Already added that]] now after like a settimer the player starts losing health and the more he take the fast the health go down. And i would like to add a check point where you can do /takedrugcourse [Drug course costs like 10k..] and you get healed for ever.

Maybe like STD or Hunger system can copy some stuff

//----Thanks Karl1195----


Re: Drug Addiction - DragonBlaster50 - 23.09.2010

So, what do you mean..?


Re: Drug Addiction - Karl1195 - 23.09.2010

i want some thing that when u take drugs you get full armour.. then after some time pass you lose helth example if you take weed 5 times every 30minute you lose 10 health and after 50 times you start losing 50 health after 30minutes...


Re: Drug Addiction - DragonBlaster50 - 24.09.2010

Make a Timer to set the HP Lower.