Raised This Month: $ Target: $400
 0% 

Vip plugin - server crah plz help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 07-28-2009 , 06:16   Re: Vip plugin - server crah plz help
Reply With Quote #3

Quote:
Originally Posted by johnjg75 View Post
I haven't looked too much into it but i can suggest that you use read_data(1) once and store it in a variable so you dont keep calling that command.
Thanks

PHP Code:
public death_msg() {
    
    new 
attacker read_data(1)
    if(
get_user_flags(attacker) & ADMINACCESS && attacker<=maxplayers && attacker && attacker!=read_data(2)) zp_set_user_ammo_packs(attacker,zp_get_user_ammo_packs(attacker) + get_pcvar_num(ammo))

Do you see anything more?
aaarnas 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 15:36.


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