Making vehicle default locked
#1

what i need change here?

Код:
public OnVehicleSpawn(vehicleid)
{
	UnlockVehicle(vehicleid);
	if(!strcmp(VehicleInfo[FindVehicleID(vehicleid)][vOwner], "NoBodY", false) || VehicleInfo[FindVehicleID(vehicleid)][vSellPrice] > 0) UnlockVehicle(vehicleid);
	else
	{
		if(DoesVehicleHaveLock(vehicleid) == true) LockVehicle(-1, vehicleid);
	}
	SetTimerEx("ModCar", 1000, 0, "d", vehicleid);
	ChangeVehiclePaintjob(vehicleid, VehicleInfo[FindVehicleID(vehicleid)][vPaintJob]);
	return 1;
}
Reply


Messages In This Thread
Making vehicle default locked - by Danielknow - 28.09.2018, 14:55
Re: Making vehicle default locked - by Electrifying - 28.09.2018, 15:12
Re: Making vehicle default locked - by Danielknow - 28.09.2018, 15:31
Re: Making vehicle default locked - by PapaSmerf - 28.09.2018, 15:33
Re: Making vehicle default locked - by Electrifying - 28.09.2018, 15:38

Forum Jump:


Users browsing this thread: 1 Guest(s)