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
}
}
__________________