A few questions
Alright, so this is my first ever Pawn program.... so dont laugh.
I need some help. How do i increase/decease a players health by 1? How do i make a small blood splurt? Other than that, is this right so far? #include <amxmodx> #include <amxmisc> //This contains some useful functions #include <fun> //This contains the function to change health new PLUGIN[]="Bleed/Heal Mod" new AUTHOR[]="Stars" new VERSION[]="0.01" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR);} public hook_Damage(id) { new damage = read_data(2);} |
Re: A few questions
Well to give a player "1+ Health" would look similar to this:
Code:
NOTE: You can also do: Code:
As for the blood 'splurts' that would mostlikely be accomplished by user messages. (Search for it) Also, you have "functions in functions" You can't do this in Pawn/Small. So, i quickly went over the code abit, and commented it. Code:
|
Re: A few questions
Thanks for clearing a few little things up :) ill fix it up a bit today, then demand more help :D!
|
| All times are GMT -4. The time now is 01:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.