Locked Bikes
#1

hey guys i have a glich on my server my civil cars are locked seccond time when you want to get in i added vehicle params and setted to locked doors to 0 and a timer to make the doors open every seccond .. but still didn't work

Код HTML:
function IsACivCar(vehicleid)
{
	for(new i = 0; i < sizeof(civcar); i++)
	{
		SetVehicleParamsEx(vehicleid,engine,lights,alarm,0,bonnet,boot,objective);
		if(vehicleid == civcar[i]) return 1;
	}
	return 0;
}
Reply
#2

Samp not have glitch with vehicle doors, maybay your client problem, or your script is bad.

Please dont`t create a timer for this shit problem, expect your bad script, or check vehicle is for civils and open it door for player when called: "OnPlayerEnterVehicle".

PS. for check vehicle model, exist GetVehicleModel. Good luck on pawno forum.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)