I cant do that, its my private.
Quote:
public zp_round_started(round)
{
if (zp_get_human_count( ) < MINPEOPLE )
return;
if(round == MODE_MULTI || round == MODE_INFECTION)
switch (random_num(0, 1))
{
case 0:
{
set_task(0.5,"make_heroine") ;
}
case 1:
{
set_task(0.5,"make_hero");
}
}
}
|
so whats wrong with this?, ive already made the plugin, compiled great.
I have made 2 plugins in 1. 1 for heroine and 1 for hero.
And with the code above, it should randomize the tasks right?.
Then it should work like i want.
EDIT : i guess i forgot about the closing bracets, only used 1 for it. but this should work the same way, just a bit more complicated.
__________________