Need help?[Help]Random Number[Solved] - MPGH - MultiPlayer Game Hacking & Cheats
[Help]Random Number[Solved]
Posts 1–6 of 6 · Page 1 of 1
[Help]Random Number[Solved]
hey im working on somthing were theres a ricktextbox and you put a number in it and it spams different numbers from 0 to the number in richtextbox plz give me code ty
it's easy, just convert the number in the textbox in integer and then use the random, like:
dim a as new random
dim b as integer = int(textbox1.text)
dim c as integer
c = a.next(0, b)
in c you will have the random number
hope this help :=)
Originally Posted by tremaster
hey im working on somthing were theres a ricktextbox and you put a number in it and it spams different numbers from 0 to the number in richtextbox plz give me code ty
Stop begging for codes !!!
nvm came up with my own code thanks for helping tho
Originally Posted by tremaster
nvm came up with my own code thanks for helping tho
no problem but, try to write ur codes at your own...
dim r as new random
r.next(0, cint(richtextbox1.text))