Raised This Month: $ Target: $400
 0% 

round events


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 06-29-2014 , 17:11   Re: round events
Reply With Quote #4

create a new var then make event for new round and add cvar then set the var in new round ++ and check it if (var == ....) and give weapons
Code:
#include <amxmodx> new rounds_count,round_give; public plugin_init() {     register_plugin("x", "0.0", "Freezo")         register_event("HLTV", "newround", "a", "1=0", "2=0");         round_give = register_cvar("round_give","3") } public newround(){     rounds_count++;         if (rounds_count == get_pcvar_num(round_give)){         // do what you wan't :v     } }

Last edited by Freezo Begin; 06-29-2014 at 17:16.
Freezo Begin 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 21:12.


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