SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 21/11/2009, 06:15 PM   #1
FreshKilla
Big Clucker
 
FreshKilla's Avatar
 
Join Date: Feb 2008
Location: Canada
Posts: 149
Reputation: 7
Default [FS] Save Vehicle Mods.


Save Vehicle Mods

By: FreshKilla

This is a Script many people have been looking for and some people just make it them selfs and never give it out, Basicly its a Car Mod saving script and the mods save into a .cfg and will Load whenever you restart, This script is the same one as i made for PR-RP but slightly different so you know its Bug/Crash free, It also saves paintjobs.

Commands:
/unmodcar - This will unmod the vehicle so you can use the Mod slots again.

Download:
http://files.uploadffs.com/d/285ad02a/Carmods.zip

Bugs:
I havent found any bugs but if you have any bugs or questions leave a reply.

FreshKilla is offline   Reply With Quote
Old 21/11/2009, 06:17 PM   #2
Kurence
Gangsta
 
Join Date: Feb 2009
Posts: 749
Reputation: 1
Default Re: [FS] Save Vehicle Mods.

Nice
Kurence is offline   Reply With Quote
Old 21/11/2009, 08:53 PM   #3
GaGlets(R)
Gangsta
 
GaGlets(R)'s Avatar
 
Join Date: Oct 2009
Posts: 931
Reputation: 2
Default Re: [FS] Save Vehicle Mods.

OMG This Realy ROX :* :* :* :* :* :*

Grat job man.... :* :*
GaGlets(R) is offline   Reply With Quote
Old 21/11/2009, 09:22 PM   #4
Benne
Huge Clucker
 
Join Date: May 2008
Posts: 245
Reputation: 0
Default Re: [FS] Save Vehicle Mods.

I don't get why you're releasing the PR-RP scripts, but it's your choice. But I can thank you for it because it's helping me learning.
Thank you.
Benne is offline   Reply With Quote
Old 21/11/2009, 09:25 PM   #5
Luka P.
High-roller
 
Join Date: Feb 2009
Posts: 1,621
Reputation: 12
Default Re: [FS] Save Vehicle Mods.

Really nice
Luka P. is offline   Reply With Quote
Old 21/11/2009, 09:30 PM   #6
Daniel_Truk
Huge Clucker
 
Join Date: Mar 2009
Location: Soviet Federation
Posts: 226
Reputation: 2
Default Re: [FS] Save Vehicle Mods.

Good work Fresh
__________________
Daniel_Truk is offline   Reply With Quote
Old 21/11/2009, 10:36 PM   #7
Mr187
Banned
 
Join Date: Aug 2007
Location: Ottawa, Canada
Posts: 949
Reputation: 11
Default Re: [FS] Save Vehicle Mods.

Quote:
Originally Posted by KristianB
I don't get why you're releasing the PR-RP scripts, but it's your choice. But I can thank you for it because it's helping me learning.
Thank you.
Alot of scripters been scripting this lately, And alot of people been requesting it.

So we talked and fresh wants people to know some of his skills he decided to post some stuff thats useful for others .

Its not like someone can't script it, But it can be buggy if not scripted it right.
And its hard for newbies so this is to help them because it is useful for alot of servers RP/DM etc.
Mr187 is offline   Reply With Quote
Old 21/11/2009, 10:44 PM   #8
marmigs
Big Clucker
 
marmigs's Avatar
 
Join Date: May 2009
Location: /home/marmigs
Posts: 131
Reputation: 3
Default Re: [FS] Save Vehicle Mods.

AWESOME!
__________________
Not PPC - Unique - www.sa-trucking.co.uk
Beta v0.2 - We are looking for Admins/Mapper
marmigs is offline   Reply With Quote
Old 21/11/2009, 10:46 PM   #9
Globe2009
Big Clucker
 
Globe2009's Avatar
 
Join Date: Oct 2009
Posts: 143
Reputation: 1
Default Re: [FS] Save Vehicle Mods.

thanks alot man its ideal

but i got the problem if cars respawn(server restarts) the paint jobs go back to normal

i use (modelid,x,y,z,angle,"color1","color2"); in my script
Globe2009 is offline   Reply With Quote
Old 21/11/2009, 11:00 PM   #10
FreshKilla
Big Clucker
 
FreshKilla's Avatar
 
Join Date: Feb 2008
Location: Canada
Posts: 149
Reputation: 7
Default Re: [FS] Save Vehicle Mods.

Quote:
Originally Posted by Globe2009
thanks alot man its ideal

but i got the problem if cars respawn(server restarts) the paint jobs go back to normal

i use (modelid,x,y,z,angle,"color1","color2"); in my script
Ahh i see the problem lol, I forgot to add this code in public OnVehiclePaintjob(playerid, vehicleid, paintjobid).

Change it to this.

pawn Code:
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
  SaveMods();
  VehiclesMod[vehicleid][10] = paintjobid;
  return 1;
}
FreshKilla 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
Save Vehicle and User Tom_Dedi Help Archive 7 07/07/2011 07:46 PM
How do you save car mods with DINI? kujox32 Help Archive 2 09/06/2010 06:44 PM
Car mods save problem by the wiki's tutorial Jakku Help Archive 0 19/01/2010 01:34 PM
Help Saving Vehicle Mods Globe2009 Help Archive 3 13/11/2009 01:21 AM
Vehicle buy\save system Klaymen Help Archive 4 03/08/2009 05:13 PM


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


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