SA-MP roleplay server mainly focused on gangs in San Andreas
 
HomeFAQPortalSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 The vehicle script

View previous topic View next topic Go down 
AuthorMessage
Yepperson
Server Developer
Server Developer
avatar

Posts : 612
Location : Belgium

PostSubject: The vehicle script   Thu Dec 24, 2015 1:32 am

The vehicle script has been developed after a week of partly hard work, boredom and dedication to rewriting it over and over again.

The reason why the script was rewritten in the first place is because it had a lot of flaws in it, it had tons and tons of mistakes in it that were not necessarily influencing the things players saw in game, but they sure did influence the server in a whole. I decided to avoid bodging the script together and just rewrite it to the best of my ability and in benefit of future features and of course the server's efficiency.

All vehicles are loaded in from the database and then spawned in. This includes vehicles owned by players. I made it this way because I couldn't find a way to by-pass this in a short amount of time (I might look into it later when the server is stable). The vehicle parameters are also saved, so if you locked your vehicle before logging off, then it is still locked upon reconnecting and after a server restart. Though, if you forgot to lock it then there's a good chance that a thief steals your vehicle. Engines must be ignited manually. Vehicles must be locked manually (donators have an automated lock). You can open and close both the bonnet and the boot, but you cannot store items in it just yet.

Thank you for being patient.
Back to top Go down
Yepperson
Server Developer
Server Developer
avatar

Posts : 612
Location : Belgium

PostSubject: Re: The vehicle script   Thu Dec 24, 2015 4:23 am

Update is live.
Back to top Go down
 
The vehicle script
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» SAMP & COMB SCRIPT DIVIDEND
» Rubber prices gain in Sri Lanka as vehicle manufacturing industry in Japan recovers
» Struggling SL vehicle importers eye Myanmar market
» Sri Lanka vehicle registrations halve in June
» 200% to 500% hike in vehicle registration fee

Permissions in this forum:You cannot reply to topics in this forum
West Coast Life Roleplay :: Server News :: Server News & Announcements :: Status Updates-
Jump to: