OtherPapers.com - Other Term Papers and Free Essays
Search

How to Script Donoations

Essay by   •  September 25, 2017  •  Case Study  •  336 Words (2 Pages)  •  341 Views

Essay Preview: How to Script Donoations

Report this essay
Page 1 of 2

First, it will be a sponsorship/mentoring script

A player can add other player as a sponsored, the conditions are: the sponsored need to be lvl 3 maximum (I forgot the darkrp level function to retrieve level of a player, but it’s really simple to find this)

The sponsored will directly receive 20000$ and 3 days of donator rank (the command is: ulx tempadduserid SteamID donateur 4320 user ) (without waiting level 10)

A POPUP is needed for the sponsored, because the sponsored need to accept to be sponsored, just a box with do you want to be blabla etc yes / no

the sponsor has a “grid” of gift, but a sponsored player will only be counted when he become lvl 10 (important) :

1 sponsored player = 20 000$ + 3 days of donator

2 sponsored player = 20 000$

3 sponsored player = 5 days of donator (the command is: ulx tempadduserid SteamID donateur 7200 user )

4 sponsored player = 20 000$

5 sponsored player = 50 000$ + 5 days of donator (the command is: ulx tempadduserid SteamID donateur 7200 user )

6 sponsored player = 30 000$

7 sponsored player = 50 000$

8 sponsored player = 75 000$ + 7 days of donator (the command is: ulx tempadduserid SteamID donateur 10080 user )

9 sponsored player = 100 000$ + 7 days of donator (the command is: ulx tempadduserid SteamID donateur 10080 user )

10 sponsored player = lifetime donator ( ulx adduserid SteamID donateur )

The interface can be very simple… you can do just a cmd like “/parrainer SteamID” (parrainer is sponsoring, in french)

and maybe a cmd to know the number of sponsored player we have like “/parrain” (number counted (lvl 10 or more) and the actually uncounted)

So it need to be stored in the server or by doing a SQL Based Script (what i’ll prefer to see directly who’s sponsored who etc”)

So do SQL or do an interface for admin to see sponsored/sponsorship

Bugs to avoid: A player can be sponsored more than an once (I don’t want this)

...

...

Download as:   txt (1.9 Kb)   pdf (51.8 Kb)   docx (8.8 Kb)  
Continue for 1 more page »
Only available on OtherPapers.com
Citation Generator

(2017, 09). How to Script Donoations. OtherPapers.com. Retrieved 09, 2017, from https://www.otherpapers.com/essay/How-to-Script-Donoations/61790.html

"How to Script Donoations" OtherPapers.com. 09 2017. 2017. 09 2017 <https://www.otherpapers.com/essay/How-to-Script-Donoations/61790.html>.

"How to Script Donoations." OtherPapers.com. OtherPapers.com, 09 2017. Web. 09 2017. <https://www.otherpapers.com/essay/How-to-Script-Donoations/61790.html>.

"How to Script Donoations." OtherPapers.com. 09, 2017. Accessed 09, 2017. https://www.otherpapers.com/essay/How-to-Script-Donoations/61790.html.