19.05.2015, 02:41
Quote:
Код:
#define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) |
meu codigo:
PHP код:
if (PRESSED(KEY_YES)) //Handsup Y
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_HANDSUP);
}