Car Damage - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Car Damage (
/showthread.php?tid=98356)
Car Damage -
Tom_Dedi - 20.09.2009
Hello,
can I save the Car Damage in a File?
Ever when i make a GMX the car is without a Damage
can i save the Damage?
mfg Dedi
(sry for bad english)
Re: Car Damage -
brett7 - 20.09.2009
you could but it would be easier with mysql
Re: Car Damage -
Tom_Dedi - 20.09.2009
how i can save it?
i dont have MYSQL sry
Re: Car Damage -
Gergo1352 - 20.09.2009
You can't save the visible damage.
Re: Car Damage -
brett7 - 20.09.2009
doing it with txt will be quite difficult i think
Re: Car Damage -
Tom_Dedi - 20.09.2009
i want only save the damage from doors, bumpers...
The Health is alrady saved but not the damage from doors, bumper....
Re: Car Damage -
Gergo1352 - 20.09.2009
That's not possible.
Re: Car Damage -
Masj - 20.09.2009
it would be cool for RP servers that we could save damage of cars...
Re: Car Damage -
Sayaron - 20.09.2009
Quote:
Originally Posted by L1F3
it would be cool for RP servers that we could save damage of cars...
|
I dont really agree, this would cause many bugs and maybe server crashes. If you save the car damage in a file and the car expolodes, the health goes to 0 and it gets saved. Then the car spawns with 0 health and this would crash the server
Re: Car Damage -
Sergei - 20.09.2009
Quote:
Originally Posted by [LRP
Sayaron ]
Quote:
Originally Posted by L1F3
it would be cool for RP servers that we could save damage of cars...
|
I dont really agree, this would cause many bugs and maybe server crashes. If you save the car damage in a file and the car expolodes, the health goes to 0 and it gets saved. Then the car spawns with 0 health and this would crash the server
|
One reason why you need to use brain when scripting.
You can't save visual damage since that matrix wasn't exported to pawn.