[GameMode] Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.]
#1

if you want a good script, use this release: https://sampforum.blast.hk/showthread.php?tid=526143; which is a NEW and better script released by me

This is a server I ended up making while learning y_ini. It's nothing spectacular, only notable things is that it's made from scratch and is pretty clean. I won't recommend trying to run it on a +50 playerbase because I didn't really think about efficiency when making this, the sole purpose of this was to get my head around how things worked and to try and fix any bugs I came across so I could rely on this for the future. Everything was made from 0 by me. Functions I used that weren't written by me have the original author's name commented next to it. Feel free to contribute and rerelease this, but please don't claim it as your own. If the download link is down, tell me and I'll re-upload it to a mirror. (Mirrors are also welcome, by the way). NOTE: This isn't for beginners. It requires atleast a bit of scripting knowledge to finish and is NOT plug and play.

Include (and plugin) libraries you'll need:
- sscanf2 (Y_Less: https://sampforum.blast.hk/showthread.php?tid=120356)
- y_ini (Y_Less: https://sampforum.blast.hk/showthread.php?tid=175565)
- zcmd (Zeex: https://sampforum.blast.hk/showthread.php?tid=91354)
- streamer (Incognito: https://sampforum.blast.hk/showthread.php?tid=102865)

Screenshot of /ahelp, /help and /stats: https://hostr.co/file/TeNwZhUy0tJw/sa-mp-291.png

Things to keep in mind
- There is no skin changing in the game but it's easily addable. The business is there though.
- I didn't use Update3DTextLabel, consider if unefficient but I simply forgot about the function.
- There's no assistant system, nor phone system. Both are easily addable though. (See my tut).
- There are two filterscripts; mapping and weapons. Mapping is a necessity for everything to work (it has all interiors and mappings), and weapons was a W.I.P. of the weapons system.
- There are about 52 houses and 11 businesses around Blueberry. All are set to realistic interiors and are working.
- This script isn't anything special at all. It has it's efficient and unefficient features. If you want to criticise my way of coding or give me advice, please PM me instead of replying here.
- There are fuel textdraws, but there is actually no fuel system. You'll need to make that yourself.
- There's no RP name checker and Kick and Ban don't support KickWithMessage, you'll need to make that yourself.
- Newly created houses/businesses aren't accessable. You need to GMX before you can actually use them.

Download: https://hostr.co/veZNYcLgYanw

Quote:
General Features:
  • Using Y_INI include for saving
  • Skin saving (gender related skins)
  • Weapon saving (slot 2, 3, 4, 5 & 6)
  • Armor, health and last position saving
  • Interior/virtual world saving (last pos sys)
  • Last login date (DD/MM/YY; HH/MM/SS)
  • KM/H and fuel system (for vehicle system)
  • Custom mapping system (gate/streaming sys)
  • Custom /pass system for prebuilt properties
  • Admin system (25+ commands; 3 levels)
  • Interpolating cameras on login/register dialog
  • 0.3c+ login (no spawn button, STYLE_PASSWORD)
  • Death System (if player = less t/ 21 hp, apply anim)
  • Local chat + (/me, /mes, /do, /low, /b, /o, /s, /pm)
  • Custom "this command doesnt exist" message
  • Admin message for people who are brought into death mode
  • /revive command for admins, reviving players who are in DM
  • /buy command (ability to purchase Medikits and Masks)
  • Leveling (+450 every 30 min and 1 xp)
  • Necessary XP is multiplied by 2 every time a player levels.
  • No player markers, and white color is set on spawn
  • Random phone number on spawn
Dynamic Faction System
  • Faction restricted vehicles
  • /f(chat); faction chat
  • /fnochat; disables chat
  • /fsettier; set tier
  • /fsetrank; set rank
  • /fcartow; tow f cars
  • /finvite; invite a player
  • /funinvite; uninvite a player
  • [ADMIN]: /makeleader; sets a player in a faction
Dynamic House System
  • /housebuy; buys nearest house
  • /housesell; sells your house (if you're near)
  • /housenear; shows you what house you're near
  • /houselock; locks your house (if you're near)
  • /houselocate; Adds a CP on your map leading to a house
  • [ADMIN]: /housecreate; creates a house at your pos
  • [ADMIN]: /housedelete; deletes specific ID
  • [ADMIN]: /houseedit; edits a house (int + price)
  • [ADMIN]: /housegoto; teleports you to a house
Dynamic Business System
  • /bizbuy; buys nearest biz
  • /bizsell; sells your biz (if youre near)
  • /bizlock; locks your biz (if youre near)
  • /biznear; shows message w/ closest biz ID, owner & price
  • /bizfee; sets your biz's fee (if you're near)
  • /bizname; changes your biz's name (if you're near)
  • /bizlocate; adds a CP on your map leading to a biz
  • /biztillinfo; shows till amount
  • /biztdeposit; deposits money in business' till
  • /biztwithdraw; withdraws money from a till
  • [ADMIN]: /bizcreate; creates a house at your pos
  • [ADMIN]: /bizdelete; deletes a specific ID
  • [ADMIN]: /bizgoto; teleports you to a biz
  • [ADMIN]: /bizaname; names a biz (you dont need to be near)
Dynamic Vehicle System
  • /carbuy; opens car purchasing dialog
  • /bikebuy; opens bike purchasing dialog
  • /carregister; registers your vehicle (BB 4600+400(random))
  • /carlock; locks your car (if you're near it)
  • /cartow; respawns your car
  • /carpark; parks your car (if you're in it)
  • /cargive; give your car to another player
  • /carhood; opens the car's hood
  • /cartrunk; open's the car's trunk
  • /carlights; activates the car's lights
  • /carfind; adds a CP leading to your vehicle
  • /engine; starts your engine (hotkey: "Y")
  • Faction restricted vehicles
  • List of ALL vehicles and prices: http://pastebin.com/577u1xja
  • Dynamicly updating speedo with engine textdraws
[JOB] Fishing System
  • /fish; fishes at specific pos (random fish and lbs)
  • /rentrod; rents a rod (attached fishing rod) for $500
  • /returnrod; returns a rod and refunds $500
  • /sellfish; sells all your fish (price on lbs, *3)
  • /checkfish; shows how much lbs you have
Money System (management)
  • /pay; pay another player some money
  • /withdraw; withdraws money from your bank
  • /deposit; deposits money in your bank account
  • /transfer; transfers bank money to another money
Mask System
  • Random mask number on spawn
  • /mask; puts mask on/off
  • Hides nametag from user of mask
  • Text shows Stranger [maskid] instead of Name
  • [ADMIN]: /setmaskid; changes mask ID
THERE ARE MORE FEATURES THAN THIS, I JUST FORGOT TO UPDATE THEM ON THE FEATURES PASTEBIN. CHECK THEM OUT YOURSELF.
Reply


Messages In This Thread
Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Satori_Komeiji - 11.05.2014, 12:56
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by markuss99 - 11.05.2014, 12:58
Re : Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by iDroid - 11.05.2014, 13:18
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by TomIrish - 11.05.2014, 13:26
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by alfie101 - 11.05.2014, 13:47
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Satori_Komeiji - 11.05.2014, 13:54
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Cookland - 11.05.2014, 13:57
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Yves - 11.05.2014, 14:22
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Parallex - 11.05.2014, 14:36
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Satori_Komeiji - 11.05.2014, 15:03
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by zDigol - 11.05.2014, 15:08
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Satori_Komeiji - 11.05.2014, 15:14
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by zDigol - 11.05.2014, 15:21
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Satori_Komeiji - 11.05.2014, 15:24
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Classical - 11.05.2014, 15:26
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by UnknownOwner - 11.05.2014, 16:26
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by UpSMaX - 11.05.2014, 18:22
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Parallex - 12.05.2014, 09:35
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by [L]azy[H]aze - 12.05.2014, 21:06
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Vincenzo_Morello - 12.05.2014, 21:19
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Satori_Komeiji - 13.05.2014, 01:39
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Vincenzo_Morello - 13.05.2014, 05:32
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Stealthshooter - 13.05.2014, 07:09
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Haqdost - 14.06.2014, 06:30
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by 1FreeHost - 14.06.2014, 07:22
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by ajam123 - 14.06.2014, 09:38
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by J1mmb0 - 20.06.2014, 22:37
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by JakeHunter1 - 20.06.2014, 22:56
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by XaibBaba - 21.06.2014, 01:30
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by Satori_Komeiji - 21.06.2014, 01:47
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by LeonardN - 20.01.2016, 21:22
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by knuckleduster5 - 24.01.2016, 12:31
Re: Blueberry Roleplay - Made from scratch, clean base [4k+ lines + abandoned proj.] - by LeonardN - 04.02.2016, 16:52

Forum Jump:


Users browsing this thread: 13 Guest(s)