public OnVehicleSpawn(vehicleid)
{
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid, false, lights, alarm, doors, bonnet, boot, objective);
new string[128];
format(string, sizeof(string), \"kocsi/kocsi_%d.ini\", vehicleid);
if(GetVehicleModel(vehicleid)!=541)
{
if(!dini_Exists(string)) return dini_Create(string);
kilometer[vehicleid]=dini_Float(string,\"Futottkm\");
}
return 1;
}
Van egy ilyenem de nem hoz létre semmit a kocsi mappa tuti megvan köszi!