Horn Key
#3

There is no default define for a KEY_HORN id.

You can easily find the ID of the key yourself by making a simple system to print the ID of the keys when they are pressed in-game.

pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
    printf("Newkeys: %d",newkeys);
    return 1;
}
Go in-game, make sure you're not pressing any buttons, then press the horn button, let go it, then look at your console or server_log.txt, and you will see the ID of the horn button printed in there.
Reply


Messages In This Thread
Horn Key - by [UG]Scripter - 20.11.2010, 08:03
Re: Horn Key - by ColdXX - 20.11.2010, 08:07
Re: Horn Key - by JaTochNietDan - 20.11.2010, 08:08
Re: Horn Key - by ColdXX - 20.11.2010, 08:12
Re: Horn Key - by iRana - 20.11.2010, 08:16
Re: Horn Key - by JaTochNietDan - 20.11.2010, 08:20
Re: Horn Key - by [UG]Scripter - 20.11.2010, 08:27
Re: Horn Key - by TheXIII - 20.11.2010, 09:18

Forum Jump:


Users browsing this thread: 1 Guest(s)