Command Chance? Making commands randomly work
#2

for example:

pawn Код:
if(!random(5)) return SendClientMessage(playerid,-1,"'Success you robbed [Cali]ChrOnic_T");//random(5) means 0 1 2 3 4 so there is 20% chance
else SendClientMessage(playerid,-1,"'Failed to rob [Cali]ChrOnic_T");
Reply


Messages In This Thread
Command Chance? Making commands randomly work - by [Cali]ChrOnic_T - 16.07.2014, 08:33
Re: Command Chance? Making commands randomly work - by Matess - 16.07.2014, 08:48
Re: Command Chance? Making commands randomly work - by xVIP3Rx - 16.07.2014, 08:48

Forum Jump:


Users browsing this thread: 2 Guest(s)