20.04.2012, 05:35
I was create a new function for a vehicle engine
When I compile, its not showing a error but when I try in my server.. it doesnt work. How to fix it
pawn Код:
forward SetVehicleEngine(vehicleid, status);
public SetVehicleEngine(vehicleid, status)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid, status, lights, alarm, doors, bonnet, boot, objective);
vInfo[vehicleid][vEngine] = status;
return 1;
}
