Raised This Month: $ Target: $400
 0% 

VIP get_user_attacker


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ZaX
Senior Member
Join Date: Jan 2015
Old 08-30-2020 , 17:20   Re: VIP get_user_attacker
Reply With Quote #4

Invalid player id 0
0 = the server(world)

Code:
if(0 < attacker <= maxplayers && ...)
Anyways, I dont think this check is needed. using "is_user_alive" is enough

Last edited by ZaX; 08-30-2020 at 17:22.
ZaX is offline
 



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 13:55.


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