Script 1%

josue2017

New member
Messages
1
Points
0
I would like to know how I do pro item have% to come in npc all that I tested the item comes with 1% I would like the item had 1% to come but when I try here as soon as it comes it comes

 
if (rand(1,100) <= 1) { // 1% de chance

getitem 501,1;

}

if (rand(1,100) <= 5) { // 5% de chance

getitem 501,1;

}

if (rand(1,100) <= 50) { // 50% de chance

getitem 501,1;

}

if (rand(1,2) == 1) { // 50% de chance

getitem 501,1;

}


Entendeu como é fácil?

 
Back
Top