[FilterScript] [FS] Save Vehicle Mods.
#10

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 Код:
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
  SaveMods();
  VehiclesMod[vehicleid][10] = paintjobid;
  return 1;
}
Reply


Messages In This Thread
[FS] Save Vehicle Mods. - by FreshKilla - 21.11.2009, 17:15
Re: [FS] Save Vehicle Mods. - by Kurence - 21.11.2009, 17:17
Re: [FS] Save Vehicle Mods. - by GaGlets(R) - 21.11.2009, 19:53
Re: [FS] Save Vehicle Mods. - by Benne - 21.11.2009, 20:22
Re: [FS] Save Vehicle Mods. - by Luka P. - 21.11.2009, 20:25
Re: [FS] Save Vehicle Mods. - by Daniel_Truk - 21.11.2009, 20:30
Re: [FS] Save Vehicle Mods. - by Mr187 - 21.11.2009, 21:36
Re: [FS] Save Vehicle Mods. - by marmigs - 21.11.2009, 21:44
Re: [FS] Save Vehicle Mods. - by Globe2009 - 21.11.2009, 21:46
Re: [FS] Save Vehicle Mods. - by FreshKilla - 21.11.2009, 22:00
Re: [FS] Save Vehicle Mods. - by Globe2009 - 21.11.2009, 23:16
Re: [FS] Save Vehicle Mods. - by ApocDesigns - 02.01.2010, 19:13
Re: [FS] Save Vehicle Mods. - by [03]Garsino - 02.01.2010, 19:19
Re: [FS] Save Vehicle Mods. - by ArTisT - 02.01.2010, 21:04
Re: [FS] Save Vehicle Mods. - by Eazy_Efolife - 02.01.2010, 21:05
Re: [FS] Save Vehicle Mods. - by ApocDesigns - 02.01.2010, 21:54
Re: [FS] Save Vehicle Mods. - by Giovanni_DaSilva - 03.01.2010, 03:30
Re: [FS] Save Vehicle Mods. - by ApocDesigns - 03.01.2010, 03:42
Re: [FS] Save Vehicle Mods. - by Giovanni_DaSilva - 03.01.2010, 04:11
Re: [FS] Save Vehicle Mods. - by Deat_Itself - 03.01.2010, 04:29

Forum Jump:


Users browsing this thread: 7 Guest(s)