[Ajuda] Como destruir automaticamente JETPACK
#4

Seria isso?
PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    if(
newkeys KEY_SECONDARY_ATTACK && !(oldkeys KEY_SECONDARY_ATTACK))
        if(
GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK)
            
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
    return 
1;

Cуdigo retirado de um post que o @steki. respondeu
Reply


Messages In This Thread
Como destruir automaticamente JETPACK - by ScripterInicianteBR - 10.12.2018, 05:32
Re: Como destruir automaticamente JETPACK - by willttoonn - 10.12.2018, 10:47
Re: Como destruir automaticamente JETPACK - by ScripterInicianteBR - 10.12.2018, 13:30
Re: Como destruir automaticamente JETPACK - by SmokeKiLL - 10.12.2018, 14:42

Forum Jump:


Users browsing this thread: 1 Guest(s)