[Ajuda] Problemas com Keys
#2

Vк ai, se der algum erro fala.

pawn Код:
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
pawn Код:
if(PRESSED(KEY_JUMP))
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            new vehid = GetPlayerVehicleID(playerid);
            {
                new ST[7];
                GetVehicleParamsEx(vehid, ST[0], ST[1], ST[2], ST[3], ST[4], ST[5], ST[6]);
                SetVehicleParamsEx(vehid, VEHICLE_PARAMS_ON, ST[1], ST[2], ST[3], ST[4], ST[5], ST[6]);
             }
        }
        return 1;
    }
Reply


Messages In This Thread
Problemas com Keys - by VenoN - 18.02.2014, 13:23
Re: Problemas com Keys - by Wanderson_SAMP - 18.02.2014, 13:37
Re: Problemas com Keys - by VenoN - 18.02.2014, 14:13
Re: Problemas com Keys - by Wanderson_SAMP - 18.02.2014, 14:38
Re: Problemas com Keys - by PT - 18.02.2014, 15:00

Forum Jump:


Users browsing this thread: 1 Guest(s)