News:

Download SA-MP 0.3.7-R5-1 from here. Alternatively for SA-MP 0.3.DL-R1 click here .

Main Menu

beckzy's Freeroam/Roleplay release topic

Started by beckzy, Nov 22, 2022, 11:21 PM

Previous topic - Next topic

beckzy

I'm not happy with the state of my current released scripts so I've decided to re-release them, including some updates and fixes from the current version that runs on our server. Changes since the last release:

- Added /modv for players to mod their vehicles in or in close proximity to mod shops (useful for Android users who previously couldn't mod their vehicles at all)
- /pm, /reply, /b, /me, /ame, /do, /s, /vs, /shout, and /w have been moved from /commands to /chatcmds
- /starttest, /buycar, and /testdrive have been added to /commands
- Added /buyweap for players to buy weapons in ammunation stores, without using the checkpoint. (useful for Android users)
- Added /paintv and /buyarmor
- Added a Sumo event type. At least two players are required for this event to start. The last person on the platform wins. If you fall before the event starts you'll respawn at the start position
- Decreased max event teams to 3 and increased max event team vehicles to 12
- Fixed /rspec not detecting higher admins and adminid 1 properly
- /vexpdat will show an expiry date for VIP Ultimate members if their expiry year is less than 3000
- Fixed non event headshots not killing the target
- Fixed the dying timer restarting, instead of killing the player, when finished
- Fixed wanted stars showing at class selection after logging in
- Fixed wanted level not resetting if leaving the server after arrest and before spawn
- Fixed hours AFK resetting after every 24 hours
- For some reason there were two occurances of MAX_PLAYERS in the script: one in IsPlayerConnected2, and one in OnPlayerEnterVehicle - the code that allows swimming players to enter on-sea vehicles as passenger. These have been changed to PLAYERS which is our max player slots, which is currently set at 50
- The killerid in SendDeathMessageEx and OnPlayerDeath is now the last known damage source issuer
- Updated player data and unoccupied player data exploit fixes, patching additional exploits and fixing some false positives
- If you leave the server in dying mode and with no wanted level you will spawn at the hospital when you relog
- If you leave the server in dying mode and wanted you will spawn in jail when you relog - providing the player that put you into dying mode was an on duty law enforcer
- Your attachments will be hidden (for yourself only) when you aim with a sniper rifle, rocket launcher, or camera
- Fixed Capture The Vehicle target vehicle map icon breaking
- Fixed /payfare for pilot missions
- Fixed splatting with a parachute displaying the accept death message
- Fixed /fr not setting on-duty pilot to off-duty, or disabling taxi, limo, and pilot requests & fares
- Fixed /rp not hiding the destinations menu
- Fixed airport security guard actors animations not being reset when the last nearby player streams out
- Admin level 5 can put themselves into vehicle seats
- Vehicle boot weapons and drugs are saved as and when they are stored/withdrawn, instead of on disconnect
- Fixed an "Array index out of bounds" error when re-entering a flying school Dodo
- Fixed an "Array index out of bounds" error when attempting to use a property safe without having entered the interior through the property door
- Fixed spawning with a joint/spliff in your hand and CJ running anims when dying in an exploding flying school dodo or dealership test drive vehicle
- Fixed checking if a player is using Android. Android specific fixes work again
- Fixed the server not properly connecting you when reconnecting at class selection
- Fixed an "Array index out of bounds" error sometimes (rarely) happening when selecting a vehicle component
- Fixed incorrectly formatted string in /askreply
- Adding a new property will updated streamed areas for players, making it impossible to create a property interior inside the property pickup
- Fixed starting a Securicar mission assigning, then using, a bank ID between 1 and 18 (instead of 0 and 17), resulting in ID 0 never being used and an "Array index out of bounds" error when 18 is used
- Fixed an "Array index out of bounds" error when returning to a business options list after having viewed the owner list
- Removed unecessary loops and amended code when returning to a business options list after viewing investing or selling options

Edit - 13/01/2023:

- Fixed not losing half of your money when dying in jail
- Fixed being unable to respond to a flight request if another pilot has offered the passenger a fare
- Fixed /whois leaving a space before the first entry
- Fixed all Ammunations eventually having being robbed (lately)
- Fixed player position check when editing a property gate position/moved position

Edit - 12/05/2023:

- Fixed a bug where business owners' shares can become corrupt
- Fixed your cars/bikes previous owner's name not formatting correctly when selling it at a dealership before the 7 day cooldown period
- Fixed /say, /vsay, and /shout leaving two spaces (instead of one) after "[ID]" and "says/shouts" for admins in Freeroam mode
- Fixed the explosive object you're planting being left behind when you're put into a vehicle boot
- Fixed the variable used to remember a player entering a vehicle when using the cellphone not being reset when being put in a boot
- Replaced all instances of "giveplayerid" with "gid" and "moneys1" with "cvar1" . The ancient naming of those variables was left over from the first ever command that I made ( /givecash )

Edit - 25/05/2023:

- Added some code to kick rapid joining players (bots)
- /enablecmd and /disablecmd command text parameter must begin with a '/'
- Fixed some loops not force breaking when shifting admin & hdo IDs
- Fixed being given a new parachute in events after leaving your spawn point interior when the interior type is skydive
- Added anti vehicle spawning (hacks)
- Fixed resetting your boat to the nearest docks setting it to the wrong docks
- Updated Pawn.RakNet plugin version to 1.6.0

Edit - 01/06/2023:

- Fixed when buying business shares from a player you were able to own more than the maximum business shares
- Fixed selling all of your shares of a business to another player, who isn't already a shareholder in the business, not resetting the shares amount in your owner slot
- Fixed the wasted player losing half of their money when their event ends as a result of their death
- Fixed attempting to buy more than $2147483647 worth of mobile vouchers or scratch cards giving you unlimited money
- Fixed insufficient parameters in [editcctv] log print

Edit - 06/06/2023:

- Fixed a crash in /startevent when an admin starts a race event without being a participant
- Fixed last man standing events being left locked after all players have left the event
- Moved event stats resetting code into an individual function ( PlayerLeaveEventResetStats ), reducing the total number of gamemode lines by almost 8000 and significantly reducing the compiled size
- Fixed business owners selling their shares to fellow owners not updating the fellow owner's shares amount correctly

Edit - 15/06/2023:

- Fixed an "Array index out of bounds" error in OnVehicleDeath when there's a player in the boot
- Fixed buying the remaining shares of your business from another player not updating your shares if the other player is last in the owners list

Edit - 23/08/2023:

- Fixed incorrectly setting the text draw proportional of securicar mission destination text
- Fixed an "Array index out of bounds" error in /tie and /cuff
- Fixed Securicar missions not ending if your Securicar is destroyed
- Fixed deleting an account incorrectly checking government stats


Download - Click.
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

beckzy

13/01/2023:

- Fixed not losing half of your money when dying in jail
- Fixed being unable to respond to a flight request if another pilot has offered the passenger a fare
- Fixed /whois leaving a space before the first entry
- Fixed all Ammunations eventually having being robbed (lately)
- Fixed player position check when editing a property gate position/moved position
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

beckzy

12/05/2023:

- Fixed a bug where business owners' shares can become corrupt
- Fixed your cars/bikes previous owner's name not formatting correctly when selling it at a dealership before the 7 day cooldown period
- Fixed /say, /vsay, and /shout leaving two spaces (instead of one) after "[ID]" and "says/shouts" for admins in Freeroam mode
- Fixed the explosive object you're planting being left behind when you're put into a vehicle boot
- Fixed the variable used to remember a player entering a vehicle when using the cellphone not being reset when being put in a boot
- Replaced all instances of "giveplayerid" with "gid" and "moneys1" with "cvar1" . The ancient naming of those variables was left over from the first ever command that I made ( /givecash )
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

beckzy

#3
25/05/2023:

- Added some code to kick rapid joining players (bots)
- /enablecmd and /disablecmd command text parameter must begin with a '/'
- Fixed some loops not force breaking when shifting admin & hdo IDs
- Fixed being given a new parachute in events after leaving your spawn point interior when the interior type is skydive
- Added anti vehicle spawning (hacks)
- Fixed resetting your boat to the nearest docks setting it to the wrong docks
- Updated Pawn.RakNet plugin version to 1.6.0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

beckzy

#4
01/06/2023:

- Fixed when buying business shares from a player you were able to own more than the maximum business shares
- Fixed selling all of your shares of a business to another player, who isn't already a shareholder in the business, not resetting the shares amount in your owner slot
- Fixed the wasted player losing half of their money when their event ends as a result of their death
- Fixed attempting to buy more than $2147483647 worth of mobile vouchers or scratch cards giving you unlimited money
- Fixed insufficient parameters in [editcctv] log print
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

beckzy

06/06/2023

- Fixed a crash in /startevent when an admin starts a race event without being a participant
- Fixed last man standing events being left locked after all players have left the event
- Moved event stats resetting code into an individual function ( PlayerLeaveEventResetStats ), reducing the total number of gamemode lines by almost 8000 and significantly reducing the compiled size
- Fixed business owners selling their shares to fellow owners not updating the fellow owner's shares amount correctly
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

beckzy

15/06/2023:

- Fixed an "Array index out of bounds" error in OnVehicleDeath when there's a player in the boot
- Fixed buying the remaining shares of your business from another player not updating your shares if the other player is last in the owners list
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

beckzy

23/08/2023:

- Fixed incorrectly setting the text draw proportional of securicar mission destination text
- Fixed an "Array index out of bounds" error in /tie and /cuff
- Fixed Securicar missions not ending if your Securicar is destroyed
- Fixed deleting an account incorrectly checking government stats
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
friendly
0
funny
0
informative
0
agree
0
disagree
0
pwnt
0
like
0
dislike
0
late
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

Powered by EzPortal