SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   General (https://forum.sa-mp.com/forumdisplay.php?f=13)
-   -   Suggestions For Future Sa:MP Versions. (https://forum.sa-mp.com/showthread.php?t=102997)

karlisgross 03/02/2010 12:25 PM

Re: Suggestions For Future Sa:MP Versions.
 
Quote:

Originally Posted by $ЯĢ
Quote:

Originally Posted by Wazza!
May have been said but.

ToggleOcuppiedVehicleDamage();

Enables/Disables vehicles getting damaged while not occupied.

Vehicles don't update themselves, but players (drivers) update them. Unfortunately that's the reason why vehicles are so "static" without drivers.

pff, like in sp we shouldnt enter car to make them damagable....

Sergei 03/02/2010 12:28 PM

Re: Suggestions For Future Sa:MP Versions.
 
Quote:

Originally Posted by karlisgross
Quote:

Originally Posted by $ЯĢ
Quote:

Originally Posted by Wazza!
May have been said but.

ToggleOcuppiedVehicleDamage();

Enables/Disables vehicles getting damaged while not occupied.

Vehicles don't update themselves, but players (drivers) update them. Unfortunately that's the reason why vehicles are so "static" without drivers.

pff, like in sp we shouldnt enter car to make them damagable....

This is multiplayer, not singleplayer.

Dreftas 03/02/2010 02:00 PM

Re: Suggestions For Future Sa:MP Versions.
 
If vehicles update just with drivers, why then they explode while landed on roof ? (upside down)

DiDok 03/02/2010 02:12 PM

Re: Suggestions For Future Sa:MP Versions.
 
OnObjectDestruction(objectid); or IsObjectDestroyed(objectid) - checking if damageable object (cone, fence, etc) is destroyed would allow to script lots of new RP and non-RP oriented things like shooting ranges (allowing to raise skill) better driving license tests (avoiding cones), breaking in scripts (alarm on broken fence) and more
And the only one thing that stops me from saying SA:MP is absolutely superiour - objects limit! 254 objects is too low and NO STREAMER will help if someone wants to create object-packed maps like new islands

Dreftas 03/02/2010 03:31 PM

Re: Suggestions For Future Sa:MP Versions.
 
If vehicle damage can be toggled on via script by scripter it will be cool.. who wants - toggle on, who don't want - toggle off.

karlisgross 03/02/2010 04:20 PM

Re: Suggestions For Future Sa:MP Versions.
 
Quote:

Originally Posted by $ЯĢ
Quote:

Originally Posted by karlisgross
Quote:

Originally Posted by $ЯĢ
Quote:

Originally Posted by Wazza!
May have been said but.

ToggleOcuppiedVehicleDamage();

Enables/Disables vehicles getting damaged while not occupied.

Vehicles don't update themselves, but players (drivers) update them. Unfortunately that's the reason why vehicles are so "static" without drivers.

it uses same core...so kye can manage it all

This is multiplayer, not singleplayer.

pff, like in sp we shouldnt enter car to make them damagable....
EDIT:sory messed post up, heres fix

BP13 03/02/2010 07:34 PM

Re: Suggestions For Future Sa:MP Versions.
 
In the current version OnvehicleDeath is not called when the car falls into the water. So when it falls into the water it is pretty much going to stay into the water until the server gets restarted.

beckzy 03/02/2010 08:10 PM

Re: Suggestions For Future Sa:MP Versions.
 
Quote:

Originally Posted by [SU
BP13 ]
In the current version OnvehicleDeath is not called when the car falls into the water. So when it falls into the water it is pretty much going to stay into the water until the server gets restarted.

This only happens if the vehicle hasn't been used since it spawned.

Sergei 03/02/2010 08:52 PM

Re: Suggestions For Future Sa:MP Versions.
 
Code:

ToggleWorldSun(bool:toggle);
Idea from this topic: http://forum.sa-mp.com/index.php?topic=147498.0
This function would also enable shadows.

DSK_Vyorel 03/02/2010 09:11 PM

Re: Suggestions For Future Sa:MP Versions.
 
Re-add the function OnPlayerPrivMsg ;)


All times are GMT. The time now is 11:01 PM.

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