Raised This Month: $ Target: $400
 0% 

Just capture the flag + GUNXPMOD


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 04-17-2011 , 22:25   Re: Just capture the flag + GUNXPMOD
Reply With Quote #4

Both mods have APIs, you can make a plugin that detects when you get/drop a flag (see jCTF's thread, jctf_api.zip, there's a plugin example there) and when that happens you just use the GunXP's set_user_xp(id, get_user_xp() + whateveryouwant) (make sure you #include <gunxpmod> )
__________________

Last edited by Hunter-Digital; 04-18-2011 at 03:16.
Hunter-Digital 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 20:14.


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