Help me please engine system
#4

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) 
{ 
    new vehicleid = GetPlayerVehicleID(playerid); 
    if (vehicleid) { 
        if ((newkeys & KEY_SUBMISSION) && GetPlayerVehicleSeat(playerid) == 0) { 
             new engine, lights, alarm, doors, bonnet, boot, objective; 
             GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); 
             if (!engine) engine = 1; 
             return true; 
        }
        else engine = 0; 
        SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); 
    } 
    return true; 
}
try that bud, not promising anything.
Reply


Messages In This Thread
Help me please engine system - by Rafaeloo - 19.10.2015, 14:38
Re: Help me please engine system - by Rafaeloo - 19.10.2015, 14:45
Re: Help me please engine system - by [ABK]Antonio - 19.10.2015, 15:23
Re: Help me please engine system - by Scottylad - 19.10.2015, 15:29
Re: Help me please engine system - by Rafaeloo - 19.10.2015, 18:32
Re: Help me please engine system - by karemmahmed22 - 19.10.2015, 18:48
Re: Help me please engine system - by Rafaeloo - 19.10.2015, 19:35
Re: Help me please engine system - by [ABK]Antonio - 19.10.2015, 19:59
Re: Help me please engine system - by Crystallize - 19.10.2015, 21:02
Re: Help me please engine system - by karemmahmed22 - 20.10.2015, 05:42

Forum Jump:


Users browsing this thread: 2 Guest(s)