01.03.2014, 15:07
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_SECONDARY_ATTACK)
{
KillTimer( yourtimer[playerid] );
}
return 1;
}
// Also Use a SetTimerEx ( Not SetTimer ) ( Timer loop should be false )