script worked for a bit then crashed and stopped working
here it is , it worked for about 5 mins then made the server and then never worked
Code:
|
Re: script worked for a bit then crashed and stopped working
Hmm...here
Code:
new AttackerHp Code:
pev(targetid, pev_health, VictimHp) Why are you using engine too? 0_o use Code:
register_forward(FM_PlayerPreThink,"Fwd_PlayerPreThink") |
Re: script worked for a bit then crashed and stopped working
hmmm i couldn't find a way to check if user is using in attack2 button
edit: ty for the catch but i still think it wouldn't work cuz either way i didn't say VALID ENT print |
Re: script worked for a bit then crashed and stopped working
sry for double post but i just tried it alka it doesn't work.. i still can't said vaid.. so its something in the client prethink .. but i dunno what would be i kept checking it
|
Re: script worked for a bit then crashed and stopped working
1 Attachment(s)
Hum...i remaked this! Try it now from this post! :wink:
*Updated* |
Re: script worked for a bit then crashed and stopped working
hmm kinda of works. the beam works and valid target appears but it adds hp to the attacker and the victims and not just 20. lotz lotz more than 20
|
Re: script worked for a bit then crashed and stopped working
Strange; add hp to both i saw that 0o...hum :-? Dunno...but is adding so much health because client_prethink is called ~60 times per second or something like that! :| now i updated the plugin to stop at 100 hp! ;)
|
Re: script worked for a bit then crashed and stopped working
well for that i have another solution but im just worries about the subtrachting part. for the health max ill have a var allows the player to use this ability 7 times only but the subtracthin part is it fixable? or could it be that since there was no max the player hp subtracted too fast and hl couldn't catch when his hp was 0 and didn't register a sucide?
|
All times are GMT -4. The time now is 09:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.