I want function to be triggered with 5% chance but I'm getting error
PHP Code:
number of arguments doesn't match definition
So what I'm doing (or at least I think it should do like that)
Every round start it gets a random number from 1 to 100 if number is equal or below 5 then it does CmdKnifeRound
PHP Code:
public RoundStart() {
if(random_num( 1, 100) <= 5) {
CmdKnifeRound;
}
}
Any help?
__________________