Raised This Month: $ Target: $400
 0% 

1st round no menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 10-08-2010 , 12:20   Re: 1st round no menu
Reply With Quote #4

Quote:
RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1);
RegisterHam(Ham_Spawn, "player", "runda", 1)
Why do you define same thing twice?

And:
Code:
#include <amxmodx> #include <amxmisc> new bool:firstround = true; public plugin_init(){     register_plugin("plugin","1.0","naven")     register_event("HLTV", "Nowa_Runda", "a", "1=0", "2=0")     } public Nowa_Runda() {     if(firstround)     {     //do something(first round)     firstround = false; //set to false so it won't happen anymore     }else     {         //other rounds     }     }
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven 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 10:23.


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