I'm recoding my plugin.
And i want to use a plugin inside the main plugin.
Every round i want to random push a plugin to an "ID"
1.amxx - to player1
2.amxx - to player2
etc...
I'm using BOOL's to activate:
I want something like:
PHP Code:
new bool:LOL[33];
new bool:LFMAO[33];
public plugin_init()
{
register_plugin(blablabla);
RegisterHam(Ham_Spawn, "player", "round", 1);
}
public round(id)
{
LOL[id]=false;
LFMAO[id]=false;
round2(id);
}
public round2(id)
{
new rand = random_num(1,10);
switch(rand)
{
case 1:
{
LOL[id] = true;
1.amxx;
}
case 2:
{
LFMAO[id] = true;
2.amxx;
}
}
}
its possible ? Starting and pausing the plugin to each ID with bool?