Raised This Month: $ Target: $400
 0% 

Enable plugin after the first round


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Jon
Veteran Member
Join Date: Dec 2007
Old 07-15-2008 , 10:57   Re: Enable plugin after the first round
Reply With Quote #2

Code:
#include <amxmodx> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "" new g_round; public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         register_event("HLTV", "event_newround", "a", "1=0", "2=0"); } public event_newround() {     g_round++         if(g_round >= 1)     {         // give player weapons     } }
Jon 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 05:33.


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