[HELP] again random
#1

hello guys i was to tell i need to help again i need to make some commands for exampel

i want to make

/robzip

/robds

/robvictim

/robbinco

now in lvrcr there something in every rob commands
new blalbal = random(5000);
now if i want to make the command /robzip .. like commands up there what number i should put in random();
please help!~
Reply
#2

please im realy need hellp guys please help me!
Reply
#3

You will need to study that gamemode because, people telling you what number to randomise will not help you one bit if you don't know what your doing it for.

And don't bump topics so soon.
Reply
#4

i will not bump but what its mean if i do
new binco = random(50000);
if(binco <= 0 && >= 50000);

what this mean help!
Reply
#5

It means absolutly nothing... A number can't be less than or equal to 0 and more than or equal to 50000 at the same time (it will always return false). And hopefully what "it" means if you do keep breaking the rules you will be banned. (i think i misunderstood what you meant lol)

pawn Код:
new binco = random(50000);//will put a random value between 0 and 50000 into the variable "binco".
//what you need to do with that variable is another story though. I don't have a clue tbh. Not seen the GM
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)