[Pedido] Render com a tecla Y
#4

Quote:
Originally Posted by viniciuship
Посмотреть сообщение
Simples:
PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    if (
PRESSED(KEY_YES))
    {
        
SetPlayerSpecialAction(playerid10);
    }
    return 
1;

Se por acaso queira fazer com outra funзгo veja:
https://sampwiki.blast.hk/wiki/Keys
Код:
#define PRESSED(%0) \
	(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
Reply


Messages In This Thread
Render com a tecla Y - by SukMathcuck - 19.05.2015, 00:57
Re: Render com a tecla Y - by VinnyScript - 19.05.2015, 01:11
Re: Render com a tecla Y - by viniciuship - 19.05.2015, 01:11
Re: Render com a tecla Y - by n0minal - 19.05.2015, 01:26
Re: Render com a tecla Y - by SukMathcuck - 19.05.2015, 02:41
Re: Render com a tecla Y - by Mark009 - 19.05.2015, 03:31

Forum Jump:


Users browsing this thread: 1 Guest(s)