enter to places
#3

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/Keys
Key found:
pawn Код:
KEY_SECONDARY_ATTACK    16  ~k~~VEHICLE_ENTER_EXIT~     ~k~~VEHICLE_ENTER_EXIT~     ENTER   ENTER
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

Example :
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys & KEY_SECONDARY_ATTACK)//new or old it's really up to you
    {
        SendClientMessage(playerid,-1,"You pressed Eneter.");
    }
    return 1;
}
tanks you help me alot
Reply


Messages In This Thread
enter to places - by DestenyRay - 29.01.2014, 18:38
Re: enter to places - by SilentSoul - 29.01.2014, 18:44
Re: enter to places - by DestenyRay - 29.01.2014, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)