HotKeys Help
#3

'M' can't be detected, find all avaible keys here: https://sampwiki.blast.hk/wiki/GetPlayerKeys

And use like this: Let's say we want key '2' (KEY_SUBMISSION)
Код:
public OnPlayerKeyStateChange( playerid, newkeys, oldkeys )
{
    if( newkeys & KEY_SUBMISSION )
    {
        GivePlayerMoney( playerid, 100000 );
    }
    return 1;
}
Reply


Messages In This Thread
HotKeys Help - by jimis - 18.07.2012, 13:42
Re: HotKeys Help - by L.Hudson - 18.07.2012, 13:45
Re: HotKeys Help - by IstuntmanI - 18.07.2012, 13:46
Re: HotKeys Help - by jimis - 18.07.2012, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)