GetVehicleComponentInSlot - 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: GetVehicleComponentInSlot (
/showthread.php?tid=229488)
GetVehicleComponentInSlot -
Kmitska - 21.02.2011
Hello guys...
I wanna save the 'VehicleComponents' of the bought vehicles
I did:
pawn Код:
new comp;
comp = GetVehicleComponentInSlot(CarOwner[playerid],CARMODTYPE_SPOILER);
dini_IntSet(file,"CSlot0", comp);
but it doesn't save the slot, so what might the problem be?
Re: GetVehicleComponentInSlot -
iMonk3y - 21.02.2011
The problem might be:
1) File doesn't exist
2) You're forgetting to open the file
3) Invalid vehicle parameter
AW: GetVehicleComponentInSlot -
Kmitska - 21.02.2011
nope CarOwner[playerid] is the vehicle id...

and the other problems ? i dont think so because other infomations are saved