I want when I press button make command help ;)
#2

PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    if(
newkeys == 131072)//CONVERSATION_NO - "N Key"
    
{
        
OnPlayerCommandText(playerid"/enter");
    }
    else if(
newkeys == 65536)//CONVERSATION_YES - "Y Key"
    
{
        
OnPlayerCommandText(playerid"/engine");
    }

I think this will describe itselfs. Hopefully it will work with your CMD-Version.
Reply


Messages In This Thread
I want when I press button make command help ;) - by TheThirdNeo - 10.02.2016, 00:24
Re: I want when I press button make command help ;) - by GangstaSunny - 10.02.2016, 00:34
Re: I want when I press button make command help ;) - by Godly - 10.02.2016, 11:04

Forum Jump:


Users browsing this thread: 1 Guest(s)