View Single Post
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 02-22-2017 , 14:00   Re: Trigger function with % chance
Reply With Quote #10

PHP Code:
public RoundStart(id) {
    new 
random random_num(1100);

    if(
random <= 5
    
CmdKnifeRound(id);  

I added (id) and it works.

Should I replace this to Emp`'s code and what would be the difference?
__________________

Last edited by Airkish; 02-22-2017 at 14:02.
Airkish is offline