now this will give random frag after round start no need kill or death
PHP Code:
#include <amxmodx>
#include <fun>
public plugin_init() {
register_logevent( "rand_score", 2, "1=Round_Start" );
}
public rand_score(id)
{
new Players[32 ];
new iNum;
new id;
get_players( Players, iNum, "h" );
for( --iNum; iNum >= 0; iNum-- )
{
id = Players[ iNum ];
new rand = random_num(0,20)
set_user_frags(id,rand);
//client_print(id,print_chat,"Your frag has been set to %i",rand)
}
}
Thanks everyone. #miss_you_all