i need ..
#5

Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys){
	if(newkeys == KEY_LOOK_BEHIND){
		if(IsPlayerInAnyVehicle(playerid)){
			new engine, lights, alarm, doors, bonnet, boot, objective, vehid;
			vehid = GetPlayerVehicleID(playerid);
			GetVehicleParamsEx(vehid, engine, lights, alarm, doors, bonnet, boot, objective);
			SetVehicleParamsEx(vehid, (engine>0?0:1), lights, alarm, doors, bonnet, boot, objective);
			if((engine>0?0:1) == 1){
				//Msg engine ON
			} else {
				//Msg engine OFF
			}
		}
	}
	return 1;
}
Reply


Messages In This Thread
i need .. - by Rafaeloo - 03.10.2015, 14:47
Re: i need .. - by dh240473 - 03.10.2015, 14:48
Re: i need .. - by Rafaeloo - 03.10.2015, 14:51
Re: i need .. - by Rafaeloo - 03.10.2015, 14:58
Re: i need .. - by AbyssMorgan - 03.10.2015, 17:40
Re: i need .. - by d1git - 03.10.2015, 17:47

Forum Jump:


Users browsing this thread: 6 Guest(s)