Raised This Month: $ Target: $400
 0% 

[Help] Trigger on specific rounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 10-03-2014 , 09:36   Re: [Help] Trigger on specific rounds
Reply With Quote #7

dont use for loop for that, use moduo

Code:
new g_Round public Event_NewRound() {     g_Round++     if (g_Round % 5 == 0)     {         //1ststuff     }     if(g_Round % 5 == 1 && g_Round > 1)     {         //2ndstuff     } }
jimaway 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 17:44.


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