josue2017 0 Posted March 21, 2017 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 Quote Share this post Link to post Share on other sites
0 Fou-lu 7 Posted March 25, 2017 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? Quote Share this post Link to post Share on other sites
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
Share this post
Link to post
Share on other sites