Raised This Month: $ Target: $400
 0% 

subtracting xp help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
onfirenburnin420
Senior Member
Join Date: Jan 2005
Old 09-04-2005 , 12:22   subtracting xp help
Reply With Quote #1

can anyone help me subtract xp... the way i tryed is not working here is part of the code:
Code:
public Ammo(id) {     if (PlayerXP[id] < get_cvar_num("ammo_cost"))         {         return PLUGIN_HANDLED     }         if (PlayerXP[id] > get_cvar_num("ammo_cost"))         PlayerXP[id] - get_cvar_num("ammo_cost")     ammo[id]=true     return PLUGIN_CONTINUE }
__________________
onfirenburnin420 is offline
Send a message via AIM to onfirenburnin420
 


Thread Tools
Display Modes

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 14:19.


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