[Ajuda] Visгo noturna
#5

Ae galera,achei isso aki em uma postagem do stewie
pawn Код:
public OnPlayerUpdate(playerid)
{
    new pWeapon = GetPlayerWeapon(playerid), up, down,
        pKeys = GetPlayerKeys(playerid, pKeys, up, down);
    if((pWeapon == 45 || pWeapon == 44) && (pKeys & KEY_FIRE))
        return 0;
    return 1;
}
pawn Код:
public OnPlayerUpdate(playerid)
{
    new pWeapon = GetPlayerWeapon(playerid);
    new pKeys, ud, lr; pKeys = GetPlayerKeys(playerid, pKeys, ud, lr);

    if(pWeapon == 44 || pWeapon == 45)
        if((pKeys & KEY_FIRE) && !(IsPlayerInAnyVehicle(playerid)))
            return 0;

    return 1;
}
И isso ?
Segundo o autor da pergunta nenhum dos 2 funcionou.
https://sampforum.blast.hk/showthread.php?tid=319431
Reply


Messages In This Thread
[Ajuda] Visгo noturna - by Senhor_Azul - 04.06.2012, 00:55
Re: [Ajuda] Visгo noturna - by Ades - 04.06.2012, 00:56
Re: [Ajuda] Visгo noturna - by BreakDriFT - 04.06.2012, 00:57
Re: [Ajuda] Visгo noturna - by .FuneraL. - 04.06.2012, 00:57
Re: [Ajuda] Visгo noturna - by Senhor_Azul - 04.06.2012, 01:02
Re: [Ajuda] Visгo noturna - by Senhor_Azul - 04.06.2012, 01:06
Re: [Ajuda] Visгo noturna - by BreakDriFT - 04.06.2012, 01:07
Re: [Ajuda] Visгo noturna - by Senhor_Azul - 04.06.2012, 01:13
Respuesta: Re: [Ajuda] Visгo noturna - by CidadeNovaRP - 04.06.2012, 01:16
Re: [Ajuda] Visгo noturna - by Senhor_Azul - 04.06.2012, 01:28

Forum Jump:


Users browsing this thread: 1 Guest(s)