b_Reaction System (Basic) -
Bolex_ - 30.03.2017
Hello Guys,
Today I'm going to present to you a Very simple b_Reaction System which i made for 10 minutes. This script only required a_samp include. I know this isn't something special but, I'm doing this for a reason to regain my previous works which got deleted by mistake from Beta Testers!
How it works ?
Good question, simply when a reaction test appear you'r are going to type randm numbers and earn some cash & money!
Download
http://www.mediafire.com/file/4v550c...tionSystem.pwn
Bugs?
No bugs found, everything has been fully tested!
PS: As i said, all my previous works are deleted i have to publish it again and I don't do it just to earn reps , I will be happy with 0! Bad/Good comments are welcome, I'm just publising very old works!
Re: b_Reaction System (Basic) -
Hunud - 30.03.2017
i know how you feel when you get deleted this by mistake,I test it and its very good basic system, GJ
Re: b_Reaction System (Basic) -
Bolex_ - 30.03.2017
Quote:
Originally Posted by Hunud
i know how you feel when you get deleted this by mistake,I test it and its very good basic system, GJ
|
What should i do, I can't return it back! Thanks
Re: b_Reaction System (Basic) -
Eoussama - 30.03.2017
Nice, gj
Re: b_Reaction System (Basic) -
Bolex_ - 30.03.2017
Quote:
Originally Posted by Eoussama
Nice, gj
|
Well, Thank you
Re: b_Reaction System (Basic) -
Hunud - 30.03.2017
How to chnage reaction will show every 5-8 minutes and how to set money ?
Re: b_Reaction System (Basic) -
Bolex_ - 30.03.2017
Quote:
Originally Posted by Hunud
How to chnage reaction will show every 5-8 minutes and how to set money ?
|
Find this in script, replace 4 with your own value!
Set your random cash here
Code:
new randmoney = 2000 + random(10);
GivePlayerMoney(playerid, randmoney);
Code:
#define TIMEPASS (4)
Quote:
Originally Posted by IcePop
Simple but nice,
|
Thanks
Re: b_Reaction System (Basic) -
Hunud - 30.03.2017
[QUOTE=Bolex_;3862166]
Find this in script, replace 4 with your own value!
Set your random cash here
Code:
new randmoney = 2000 + random(10);
GivePlayerMoney(playerid, randmoney);
Code:
#define TIMEPASS (4)
Thank you
Re: b_Reaction System (Basic) -
Roozevelt - 30.03.2017
Pastebin please?
Re: b_Reaction System (Basic) -
Bolex_ - 30.03.2017
Quote:
Originally Posted by ItzzWesty
Pastebin please?
|
Pastebin added!
Re: b_Reaction System (Basic) -
Hunud - 04.04.2017
Works good, as you wrote basic
Re: b_Reaction System (Basic) -
Bolex_ - 06.04.2017
Tnanks, yea basic
Re: b_Reaction System (Basic) -
Electron123 - 06.04.2017
Nice thank you bro +REP
Re: b_Reaction System (Basic) -
Bolex_ - 07.04.2017
Quote:
Originally Posted by Electron123
Nice thank you bro +REP
|
I'm glad you like it, thanks for rep
Re: b_Reaction System (Basic) -
Infinity - 07.04.2017
Why did you define "LEAST_NUMBER" if you aren't using it?
Why did you generate the random number like this:
Code:
NUMBER = LARGEST_NUMBER + random( LARGEST_NUMBER-LARGEST_NUMBER );
So first you take your LARGEST number, and then you add something else to it, making it even larger.
Also, random(LARGEST - LARGEST) = random(0), something you shouldn't do. See
https://sampwiki.blast.hk/wiki/Random
Re: b_Reaction System (Basic) -
Bolex_ - 07.04.2017
Quote:
Originally Posted by Infinity
Why did you define "LEAST_NUMBER" if you aren't using it?
Why did you generate the random number like this:
Code:
NUMBER = LARGEST_NUMBER + random( LARGEST_NUMBER-LARGEST_NUMBER );
So first you take your LARGEST number, and then you add something else to it, making it even larger.
Also, random(LARGEST - LARGEST) = random(0), something you shouldn't do. See https://sampwiki.blast.hk/wiki/Random
|
Totaly missed up this from mind, thank you