20.03.2011, 07:30
use
Note that you can change the key as you like.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_ACTION)
{
//do something here
}
return 1;
}