Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Addon: Quad Damage (Human)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 08-01-2011 , 06:59   Re: [ZP] Addon: Quad Damage (Human)
Reply With Quote #9

Quote:
Originally Posted by Excalibur.007 View Post
pev_valid(entity) checks if the entity is valid or not. So just use is_user_alive(entity)

and for the (!id | !infector),
I don't think is necessary. But if it for known error log, then leave it there. I still don't find problems in ZP 4.3 Fix 5a.
You still need to add this check in zp_user_infected_post
if (!infector) return;
since sometimes the infector is set to 0 (in the case of first zombie) so if you then do something with the infector (like check its zombie class) then ZP would throw a run-time error.
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode