Chance
#2

use random()

pawn Код:
new randomChance = random(2); // 50/50% chance
if(randomChance==0)
{
  //you broke ur cuffs
}
else if(randomChance==1)
{
   // you failed to break out
}
Reply


Messages In This Thread
Chance - by Mriss - 19.03.2014, 07:11
Re: Chance - by AssMunchingFool - 19.03.2014, 07:16
Re: Chance - by Mriss - 19.03.2014, 07:22
Re: Chance - by Mriss - 19.03.2014, 07:24
Re: Chance - by AssMunchingFool - 19.03.2014, 07:43

Forum Jump:


Users browsing this thread: 1 Guest(s)