KEY_SECONDARY_ATTACK and /enter
#1

Dear guys,

I tried to write a script to let people enter houses and businesses using /enter or the KEY_SECONDARY_ATTACK key. Buy I don't know how to get it to work.

Could someone help me please?

I've tried to use:

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if( newkeys == KEY_SECONDARY_ATTACK )
    {
       
    }

    return 1;
}
But I don't know how to implement it.


http://pastebin.com/Euw8PmSK

Thank you,
Michael
Reply


Messages In This Thread
KEY_SECONDARY_ATTACK and /enter - by mrxqware - 16.12.2013, 18:12
Re: KEY_SECONDARY_ATTACK and /enter - by dominik523 - 16.12.2013, 18:19
Re: KEY_SECONDARY_ATTACK and /enter - by Patrick - 16.12.2013, 18:37
Re: KEY_SECONDARY_ATTACK and /enter - by dominik523 - 16.12.2013, 18:48
Re: KEY_SECONDARY_ATTACK and /enter - by mrxqware - 17.12.2013, 10:16
Re: KEY_SECONDARY_ATTACK and /enter - by mrxqware - 17.12.2013, 18:57

Forum Jump:


Users browsing this thread: 4 Guest(s)