SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Thread Tools Display Modes
Old 10/05/2019, 02:44 AM   #1
Beta Tester
Join Date: Dec 2006
Posts: 1,209
Reputation: 144
Default eLg Clan's Freeroam/Roleplay

I've decided to release my eLg Clan's Freeroam/Roleplay script to the public. This is the 0.3.7 version. I will probably include the 0.3.DL version later.

Some notes:
- To make yourself level 7 (head admin) , add without the quotation marks the lines "adminlevel=7" and "adminid=1" to your account file (remembering to submit a new line) , add to datafiles/a/adminids.ini "admin1=YourNameHere" , add to datafiles/a/admins.ini "YourNameHere=7" , and finally add "admins=1" to datafiles/t/totalstat.ini .
- Admin ID 1 (which you've just added from the note above) has control over all admins, even other level 7s
- strcmp is used, not a command processor
- This script uses DINI. When I started developing the script in 2006 there was no MySQL plugin. There weren't any plugins whatsoever back then! By the time plugins became possible in SA-MP and a stable MySQL one was made, I had already coded thousands of lines and decided not to switch from DINI. That was a huge mistake on my side, but feel free to convert to MySQL
- This script also uses Incognito's streamer plugin, and cyber_punk's MRandom plugin.
- If you are using this script on Linux you must create a-z lowercase directories in userfiles , /userfiles/S/server.ini must be moved to /userfiles/s/server.ini , and /orgfiles/O/orgstats.ini must be moved to /orgfiles/o/orgstats.ini .

I've picked up some bad habits coding in PAWN over the years, but the script is pretty much feature rich and bug free. If you do happen to find a bug though, I know my script inside out and will fix it as soon as I get a chance.

More info will be posted later.

Edit - 08/07/2019: Updated download links (bottom of post) and included the 0.3.DL version of the script. The 0.3.DL version isn't too much different from the 0.3.7 version. Here is a list of changes in the 0.3.DL version:

- The missing SA skins can be used by organizations, in events, and by VIP members
- Increased max player cones for police, racing gangs, etc
- Closed default pay n sprays and added several scripted pay n sprays
- Closed default bomb shops and added a scripted bomb shop
- Added rentable/controllable lock-ups at various single-player mission garages
- Added many Vice City interiors (some as property interiors, some as hidden interiors, some as enterable interiors)
- Removed Cesar's garage door and made it usable in /addpropgate
- Made Doherty garage door available as an organization gate

Edit - 14/11/2019: A few minor updates/fixes:

- Updated the pawn raknet plugin included to the latest version
- Renamed VIP Deluxe to VIP Ultimate and changed the color to Platinum (#E5E4E2)
- Fixed the "action" message colors in /dskin
- Fixed random weather selection for each city
- Added the Easter Basin carrier door and a gate at the entrance as usable orgainzation gates

Edit - 22/11/2019: A few more minor updates/fixes and removed the 0.3.DL version:

- Fixed adminid 1 not having full control over all admins (inc. other level 7s)
- Only adminid 1 can use /setvip
- Re-wrote /transfer in a similar style to /tp (/tp also handles multiple players)
- Completely disabled the MP3 player code. It is old, outdated, and the song choices (which were my own) aren't preferable to most people
- When you join a race event you will be put into the longest "idle" vehicle of that event (the vehicle that has been unoccupied the longest) . When the event is opened, or if all vehicles in the event have respawned since anyone last joined, all the vehicles will have the same last idle time therefore you'll be put in the first vehicle in the list
- Added VIP points. You can earn VIP points by reaching each 100 hours played milestone. Type /vippoints to spend your points on various VIP Levels & durations
- Added two linked organization gates at a HQ in Verona Beach
- Re-positioned the mod shop checkpoints. X is more central and Y is closer to the entrance, meaning it's practically impossible to trigger the client-side script
- You're given $50000 instead of $15000 when you register an account
- You're no longer required to have played 7 hours to rob a store. Instead you must now be holding a weapon
- Changed VIP Ultimate color from platinum #E5E4E2 to metallic silver #C0C0C0
- The 0.3.DL version is removed. If in the future the 0.3.DL features are included in the main SA-MP version I'll re-enable the .DL specific features of the gamemode

Edit - 28/11/2019: These will probably be the last updates/tweaks to the script for a while. Anyhow:

- Added an alternate trailer site at LVA Freight Depot to the trucking mission. If you're selected this site you'll be driving a Linerunner and when you connect to the trailer the destination you're given will be at a random clothes store
- Fixed text overlay in the trucking mission when detaching the wrong trailer after having already been attached to the right one
- Fixed /collectweapons not working on-foot in organization checkpoints
- Organizations can have up to 6 different weapons (providing each weapon belongs to a different weapon slot)
- Organization leaders/co-leaders can use /editrankperms to assign up to 3 different weapons to each of their organizations ranks
- When an organizations weapons are changed and there are more than 3 weapons assigned, the first 3 weapons will be allowed automatically for each rank

Edit - 07/12/2019: A short/unplanned list of updates (because of the /payrent bug I reckoned it important to upload this now):

- Fixed misleading information in /guide R.E. pizza delivery missions
- /rspec won't select the player you're already specating if there are others online and spawned
- All admin property related commands have been moved into /apropcmds
- When using /acmds, /aocmds, /apropcmds, and /aeventcmds, you will only see the commands available up to your level
- Fixed /payrent saving the "payment to" details to the property owner's bank statement instead of the paying tenant's

Edit - 16/12/2019: Another short/unplanned list of updates/fixes:

- Renamed "Official Organizations" to "Organizations" and renamed "Unofficial Organizations" to "Parties"
- Interior enex markers will only show if your interiorid is the same as that of the enex
- VIP members can sell their vehicles to other players after having changed the vehicle model
- Moved /setmoney and /givemoney to admin level 4
- Fixed /taxi, and /buyticket (when your gaming state is role-play), request messages being cut short
- Fixed /payfare not working for taxi fares
- Added Limo fares (same logic as taxi fares but in a Stretch)
- Organization ranks max wage increased from $1500 every 30 mins to $5000 every 30 mins

Edit - 17/12/2019:

- Fixed organization alarm messages being sent to all organization members instead of members of the linked organizations only

Edit - 23/12/2019: Some updates/fixes:

- All admin organization, property, and business editing commands will send admin logs and print into the server log
- Moved /addcctv, /delcctv, /addalarm, /delalarm, /alarmref to admin level 6
- CCTV and alarm link/unlink commands will send admin logs
- Fixed a bug with /setleader, /kickleader, and /akickcoleader where the command would be unsuccessful when used on an online undercover admin with a lower level than yourself
- Changed "/setadmin [name] [level]" to "/setadmin [name] [level] [color] [status]" and "/setsmember [name]" to "/setsmember [name] [color] [status]"
- If you're hit by the 3rd swing of a katana (animation "sword_3") you will die instantly. The death reason will say "decapitated"
- Added headshot probabilities to weapons. Type /headshots for a list of probabilities
- When the game takes $100 off you after death you'll be given it back

Edit - 09/01/2020: Some further updates/fixes:

- /addtip, /deltip, /addrule, and /delrule will send admin logs and print into the server log
- Fixed /vipcmds text "VIP Commands - Level 1" displaying in dark violet instead of orange
- When collecting organization weapons the amount of ammo you're given will depend on the amount of ammo you already have for that weapon. E.g. if you have 10 ammo of the org weapon already and the ammo amount for the org weapon is 20, you'll only be given another 10
- /setadminstatus will send an admin log
- Fixed changing an organizations catagory to Mafia saying it's changed to Gang
- You must collect your business profit before making further investments or uninvesting
- Admin id 1 has full control of events over the event moderator (if set)
- Added the green/allow and red/disallow text colors to all organization rank permissions (they were previously only used when editing weapon permissions)
- /setgamingstate won't allow you to set the gaming state of an admin with the same or a higher level than yourself (unless you're admin id 1)

Edit - 12/01/2020:

- Death messages won't be sent if the wasted player isn't logged in
- Added /whois [ip_address] for admin level 3+ to view a list of registered users linked to a specific ip address
- Fixed the script refunding you $100 on death not always working properly

Edit - 16/01/2020: A player pointed out an issue with how business profit is calculated (cheaper businesses could produce almost as much as more expensive businesses). I've simplified how business profit is calculated:

- Increased max event team pickups to 6
- Daily business profit is now calculated as bus_cost / 20000 * shares
- Fixed getdate() being used twice when calculating business profit


eLg Clan's Freeroam/Roleplay | 0.3.7 - Download
eLg Clan's Freeroam/Roleplay | 0.3.DL - Not currently available


Last edited by beckzy; 16/01/2020 at 06:17 PM.
beckzy is offline   Reply With Quote
Old 10/05/2019, 06:02 AM   #2
Huge Clucker
ZigGamerx's Avatar
Join Date: Jul 2018
Posts: 198
Reputation: 25
Default Re: eLg Clan's Freeroam/Roleplay

Damn dude why?
ZigGamerx is offline   Reply With Quote
Old 10/05/2019, 06:18 AM   #3
Beta Tester
Join Date: Dec 2006
Posts: 1,209
Reputation: 144
Default Re: eLg Clan's Freeroam/Roleplay

I've contemplated doing it for a while now. I think now is the right time while there's still time for people to learn from it and extract from it if they wish to (credit please)
beckzy is offline   Reply With Quote
Old 10/05/2019, 08:09 AM   #4
Little Clucker
Join Date: Feb 2016
Location: Denmark
Posts: 16
Reputation: 1
Default Re: eLg Clan's Freeroam/Roleplay

VERY NICE...................

How about the future of elg? that server still working?
everything gonna be fine.
dwp12345 is offline   Reply With Quote
Old 10/05/2019, 09:21 AM   #5
Huge Clucker
SonnyGamer's Avatar
Join Date: Jun 2017
Posts: 319
Reputation: 85
Default Re: eLg Clan's Freeroam/Roleplay

Good release
SonnyGamer is offline   Reply With Quote
Old 10/05/2019, 11:29 AM   #6
Little Clucker
Join Date: May 2016
Location: Indonesia
Posts: 3
Reputation: 0
Default Re: eLg Clan's Freeroam/Roleplay

As you said before, you really did it.

Nvm, Thank You for the release.
wahitfitriyanto is offline   Reply With Quote
Old 10/05/2019, 02:53 PM   #7
Big Clucker
Join Date: Dec 2015
Location: Pakistan
Posts: 180
Reputation: 22
Default Re: eLg Clan's Freeroam/Roleplay

Exhibit is offline   Reply With Quote
Old 10/05/2019, 10:12 PM   #8
Little Clucker
Join Date: May 2019
Posts: 2
Reputation: 0
Thumbs up Re: eLg Clan's Freeroam/Roleplay

Trovixo is offline   Reply With Quote
Old 10/05/2019, 11:22 PM   #9
Huge Clucker
Kasis's Avatar
Join Date: Mar 2010
Location: Weed, New Mexico
Posts: 414
Reputation: 81
Default Re: eLg Clan's Freeroam/Roleplay

Hands down Beckzy, very nice gamemode!
Upload 0.3dl version please.
Kasis is offline   Reply With Quote
Old 11/05/2019, 01:04 PM   #10
Little Clucker
Wherethescripters's Avatar
Join Date: Dec 2017
Location: Pakistan
Posts: 48
Reputation: 3
Default Re: eLg Clan's Freeroam/Roleplay

That's awesome
Wherethescripters is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT. The time now is 11:51 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.