Pretty good, still all you did was to put all functions ( or most ) along in a single function..
thanks bro i just made it simpler
So that when you need light or alarm there right there
[pawn]
GetVehicleFunction( playerid, vid, engine, lights, alarm, doors, tyres );
SetVehicleFunction( playerid, vid, engine, lights, alarm, doors, tyres );
[/pawn]