SA-MP Forums Archive
[Tutorial] How to Make a Simple payday system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] How to Make a Simple payday system (/showthread.php?tid=349605)



How to Make a Simple payday system - Dare Devil..... - 09.06.2012

MAKING A SIMPLE PAYDAY SYSTEM

Today I will tell you how to make a simple Payday system.

This payday system will give people random amount of cash.

-First of all do this.
pawn Code:
new RandomPay
-After this you need to set values it will randomly give out amount to different people
pawn Code:
=random(900 - 300) + 300;
After random I placed Maximum ammount - Minimum ammount

You can increase or decrease the ammount of pay check accordingly you want
E.G= instead of (900 - 300) + 300; you can also place something else e.g (1000 - 400) + 400; Its up to you

Now you are done hope you learned something and I helped you.

Paste Bin: http://pastebin.ca/2159818
Mediafire: http://www.mediafire.com/?9fc17iyoc3eabdb
Any one is allowed to paste the mirrors

This is my first tutorial after watching alot of tutorial I decided to make this hope I helped you I am also not much old to scripting,There for this tutorial is not so good I will be uploading some more tutorials soon.



Re: How to Make a Simple payday system - JhnzRep - 09.06.2012

You didn't show how the payday is called...

0/10.

EDIT: This is basically only on how to use the random function...And you didn't explain that very well either..

1/5 - Rating for explaining the random function.


Re: How to Make a Simple payday system - leonardo1434 - 10.06.2012

LOL, do you call that of tutorial? You didn't even defined when he will use the random function. you just made a new and nothing else.

This is the worst tutorial i even ever seen.