04.10.2013, 16:34
Konstantinos, he want to open gate from Key "H" ... Usually its Horn...it can be like this :
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if((oldkeys & KEY_HORN))
{
//Your Code here
}
return 1;
}