Raised This Month: $51 Target: $400
 12% 

HELP Upgrades


Post New Thread Reply   
 
Thread Tools Display Modes
yxcs
Junior Member
Join Date: Aug 2011
Old 08-11-2011 , 18:02   Re: HELP Upgrades
Reply With Quote #11

yoU need gdut upgrades ?
yxcs is offline
DSASDFGH
Senior Member
Join Date: Jul 2011
Location: Facebook
Old 08-12-2011 , 11:15   Re: HELP Upgrades
Reply With Quote #12

Use this for adding experince per damage
This is not my code ^^
If user give 100 damage to zombie, he / she will get 10 exp.
And when you're upload at mychat, please upload the Fuc*ing *.sma
Because mychat users don't upload *.sma

PHP Code:

 
new g_MaxPlayers get_maxplayers()
 if(
victim == attacker || !is_user_connected(attacker)) return HAM_IGNORED
 
if(zp_get_user_zombie(attacker) || zp_get_user_survivor(attacker) || zp_get_user_nemesis(attacker))
 return 
HAM_IGNORED
      
if( <= attacker <= g_MaxPlayers && attacker != victim ) {
           
add_experienceattackerfloatrounddamage 10 ) )
  return 
HAM_IGNORED
 
}
 return 
HAM_IGNORED 
DSASDFGH is offline
Reply



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 11:08.


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