SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 09/04/2020, 08:20 AM   #31
Fairuz
Huge Clucker
 
Fairuz's Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 452
Reputation: 64
Default Re: CHandling - Server control of handlings & per-vehicle handlings

Is there anyway I can get vehicle's default data without the player using the .asi file? for Force Level Suspension value atleast..
__________________
Los Santos based Cops and Robbers with many features.
209.58.183.101:7777
Fairuz is offline   Reply With Quote
Old 12/04/2020, 10:22 PM   #32
dotSILENT
Big Clucker
 
dotSILENT's Avatar
 
Join Date: Aug 2016
Location: Poland
Posts: 53
Reputation: 64
Default Re: CHandling - Server control of handlings & per-vehicle handlings

Quote:
Originally Posted by Dice_ View Post
Do we have to reset the handling every the destroyed or the plugin take care of that?
The plugin takes care of reseting every vehicle right after calling CreateVehicle, so you don't need to reset anything.

Quote:
Originally Posted by Dice_ View Post
Is there anyway I can get vehicle's default data without the player using the .asi file? for Force Level Suspension value atleast..
With this plugin, handling values are kept server-side, so you don't need anyone to have the ASI in their game to get the default values of any vehicle/model. The server keeps a local copy of the default GTA SA handling and enforces it on every player that uses this plugin.

However if all you need is just reading the handling values without modifying them, then there are more suitable ways of doing so (look up for some handling includes that are basically huge arrays with all the default handling lines.
dotSILENT is offline   Reply With Quote
Old 14/04/2020, 07:16 AM   #33
Fairuz
Huge Clucker
 
Fairuz's Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 452
Reputation: 64
Default

Ah I see! I just realized there is one. Thank you!

Your plugin causes my vehicles added by AddStaticVehicle respawn everytime player exit from it.. please fix it..
__________________
Los Santos based Cops and Robbers with many features.
209.58.183.101:7777

Last edited by dugi; 14/04/2020 at 10:44 AM.
Fairuz is offline   Reply With Quote
Old 17/04/2020, 07:02 PM   #34
dotSILENT
Big Clucker
 
dotSILENT's Avatar
 
Join Date: Aug 2016
Location: Poland
Posts: 53
Reputation: 64
Default Re: CHandling - Server control of handlings & per-vehicle handlings

Quote:
Originally Posted by Dice_ View Post
Ah I see! I just realized there is one. Thank you!

Your plugin causes my vehicles added by AddStaticVehicle respawn everytime player exit from it.. please fix it..
Just checked out of curiosity and not a single vehicle added by AddStaticVehicleEx got respawned, even after changing it's handling. I'd rather say it's some issue in your gamemode as I don't really see any reason why vehicles would respawn with this plugin.
dotSILENT is offline   Reply With Quote
Old 02/05/2020, 07:09 AM   #35
Yukie
Big Clucker
 
Yukie's Avatar
 
Join Date: Nov 2016
Location: Somewhere in PHILIPPINES
Posts: 114
Reputation: 3
Default Re: CHandling - Server control of handlings & per-vehicle handlings

Great release.. but the samp client is updated to R4
__________________

Discord: ichaaaannn#5995|FB: @ichaaaannn
Paradox Roleplay
samp.paradox-rp.ml
Yukie is offline   Reply With Quote
Old 03/05/2020, 12:48 AM   #36
ZachKnoxx
Huge Clucker
 
Join Date: Oct 2013
Location: Canada
Posts: 205
Reputation: 118
Default Re: CHandling - Server control of handlings & per-vehicle handlings

Quote:
Originally Posted by Yukie View Post
Great release.. but the samp client is updated to R4
This supports R4.
ZachKnoxx is offline   Reply With Quote
Old 12/05/2020, 11:53 AM   #37
nieXpro
Little Clucker
 
Join Date: Apr 2017
Location: Turkey
Posts: 29
Reputation: 3
Default Re: CHandling - Server control of handlings & per-vehicle handlings

Does this plugin cause problems on servers with a high number of players?
nieXpro is offline   Reply With Quote
Old 12/05/2020, 03:47 PM   #38
dotSILENT
Big Clucker
 
dotSILENT's Avatar
 
Join Date: Aug 2016
Location: Poland
Posts: 53
Reputation: 64
Default Re: CHandling - Server control of handlings & per-vehicle handlings

Quote:
Originally Posted by nieXpro View Post
Does this plugin cause problems on servers with a high number of players?
Haven't really tested it with any bigger amount of players. It should perform well though, especially on the server side there isn't any heavy logic involved that could cause performance problems. On the client side, once the handling is replaced the plugin shouldn't even affect the game in any way. Only thing I can imagine is some frame drops when entering areas with lots of vehicles spawned.

Anyway, I can't really guarantee it will work well with a bigger amount of players. It's not stable enough, requires some improvements. I released it more as an example how it can be done than an actual plug-n-play plugin. Although it works, I haven't tested it in a running environment much and I'm not really planning on developing it any further.
dotSILENT is offline   Reply With Quote
Old 12/05/2020, 08:02 PM   #39
nieXpro
Little Clucker
 
Join Date: Apr 2017
Location: Turkey
Posts: 29
Reputation: 3
Default Re: CHandling - Server control of handlings & per-vehicle handlings

Quote:
Originally Posted by dotSILENT View Post
Haven't really tested it with any bigger amount of players. It should perform well though, especially on the server side there isn't any heavy logic involved that could cause performance problems. On the client side, once the handling is replaced the plugin shouldn't even affect the game in any way. Only thing I can imagine is some frame drops when entering areas with lots of vehicles spawned.

Anyway, I can't really guarantee it will work well with a bigger amount of players. It's not stable enough, requires some improvements. I released it more as an example how it can be done than an actual plug-n-play plugin. Although it works, I haven't tested it in a running environment much and I'm not really planning on developing it any further.
It made me sad that you will not develop this plugin any more. Because too many systems can be made with this plugin. I will take risks and use them on my own server. I hope it works well in high number of players. I would also like to thank you for publishing such a plugin.
nieXpro is offline   Reply With Quote
Old 12/05/2020, 10:55 PM   #40
Refik
Little Clucker
 
Join Date: May 2017
Posts: 2
Reputation: 0
Default Re: CHandling - Server control of handlings & per-vehicle handlings

We are using for our roleplay server. Thank you very much!

That's an text gif for this plugin;



But we have Tag Mistach warning. How did I fix that? Code;

new float:engineacc;
GetVehicleHandlingFloat(CarData[carid][carVehicle], HANDL_TR_FENGINEACCELERATION, engineacc);

Is that incoorect?
Refik is offline   Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tool/Web/Other] M-Server Control Panel 1.8 | VPS-Sftp/Shell Control | Rcon/Remote Control Server | + more | park4bmx Tools and Files 268 01/05/2020 02:59 PM
Car handlings are very hard ZombieNest Client Support 13 10/08/2014 10:03 AM
[FilterScript] Server Control Panel V1.0.0 - A simple server control filterscript with dialog chencong Filterscripts 10 27/09/2013 07:31 PM
[FilterScript] SA-MP 0.3c Vehicle Control System (Control everything, you want) Auxxx Filterscripts 78 09/10/2012 10:40 PM


All times are GMT. The time now is 09:05 PM.


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