04.06.2014, 04:09
Код:
if(newkeys & KEY_ACTION) { if(IsABicicleta(GetPlayerVehicleID(playerid)) && GetPlayerState(playerid) == 2) return SendClientMessage(playerid, 0x478999, "{7000DF}[LSD]: {FFFFFF}Bicicletas Nгo possuem Motor."); g_vFlags[vehicleid] ^= FLAG_VEHICLE_ENGINE; SetVehicleParamsEx(vehicleid, !!(g_vFlags[vehicleid] & FLAG_VEHICLE_ENGINE), lightsson, alarm, doors, bonnet, boot, objective); if(g_vFlags[vehicleid] & FLAG_VEHICLE_ENGINE) SendClientMessage(playerid, 0x32cd32ff, "motor on."); else SendClientMessage(playerid, 0xff0000ff, "motor off."); }