[Ajuda] OnPlayerKeyStateChange || ZCMD
#5

Consegui finalmente. Tive que tirar os parametros do comando
pawn Код:
//Comando
CMD:comando(playerid) { return 1; }
// Public
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
        if((newkeys == KEY_SPRINT))
        {
            cmd_comando(playerid);
        }
    return 1;
}
Postei a resoluзгo assim poderei ajudar outros quando virem este topico.
Obrigado xCR7
Reply


Messages In This Thread
OnPlayerKeyStateChange || ZCMD - by unamed - 20.06.2014, 10:50
Re: OnPlayerKeyStateChange || ZCMD - by ipsLuan - 20.06.2014, 11:47
Re: OnPlayerKeyStateChange || ZCMD - by unamed - 20.06.2014, 11:51
Re: OnPlayerKeyStateChange || ZCMD - by ipsLuan - 20.06.2014, 11:53
Re: OnPlayerKeyStateChange || ZCMD - by unamed - 20.06.2014, 12:03
Re: OnPlayerKeyStateChange || ZCMD - by ipsLuan - 20.06.2014, 12:22

Forum Jump:


Users browsing this thread: 2 Guest(s)