GetVehicleComponentInSlot
#1

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?
Reply
#2

The problem might be:

1) File doesn't exist
2) You're forgetting to open the file
3) Invalid vehicle parameter
Reply
#3

nope CarOwner[playerid] is the vehicle id... and the other problems ? i dont think so because other infomations are saved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)