I have a problem with my command
#1

T/C.
Reply
#2

Add this on the top of the script.
Quote:

#define OValoare 200000

Reply
#3

I need for more value, like from 1$ to 5.000.000$.
Reply
#4

https://sampwiki.blast.hk/wiki/Random
Reply
#5

Remove any code you have defined "OValoare" and at the top of OnPlayerPickUpPickup callback:
pawn Код:
new OValoare = random(5000000) + 1;
this will generate a random number between 0-4999999 and will add 1 on the result to make it 1-5000000.
Reply
#6

Look what i take when i compile what yo give me: http://imgur.com/a/Xw2zx
Reply
#7

I said "at the top of OnPlayerPickUpPickup callback". Adding it outside of any function will cause the compiler crash.
Reply
#8

i found an other solution, but thx for try to helping me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)