Bad Load on plugin
im getting a bad load on my plugin and i dont know whats wrong
Code:
|
Code:
|
i dont get a bad load anymore but the plugin dosent work can someone see whats wrong with the code? ive got all the modules enabled on the test server
Code:
|
I always thought that the Event names were Case-Sensitive, but I could be wrong..
Either way, you should change: Code:
Anyway, apart from that, in your DeathMsg function: Code:
And, you are trying to give health back to the dead player, which isn't going to happen.. he is already dead.. You want to give health to the attacker who killed him, so you could try: Code:
Oh, and you should make sure that the victim and attacker are valid players: Code:
So overall, your DeathMsg function should look like: Code:
Oh, and your vampire() function is completely useless as it is, and I don't know what you wanted to do with it, but it is logically messed up!! No offense.. Anyway, I hope that helps! |
the point of the vampire function was to make peoples health continuoulsly go down til they reach 1 hp then it would stop and say something that was the point of it i dont know if i did it right tho
|
| All times are GMT -4. The time now is 09:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.