How to make a bind
#1

Hi guys i would like to know how to make a bind with key Y that would do this:
return dcmd_robstore(playerid,params);

to resume, i would like it to return to /robstore command.
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

Код:
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) 
    {
        if(newkeys & 65536) //Value
        {
            OnPlayerCommandText(playerid, "/robstore"); //cmd
            
           return 1;
        }
    }
Reply
#3

Thank u +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)