14.09.2013, 09:53
(
Последний раз редактировалось Champ; 14.09.2013 в 10:41.
)
Hello, I got a little problem.
when i press action key, it enables. But when i press that key again, it doesn't disable.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_ACTION))
{
// My enabled code
}
else if (PRESSED(KEY_ACTION))
{
// My disabled code
}
return 1;
}