[Ajuda] Como destruir automaticamente JETPACK
#3

Quote:
Originally Posted by willttoonn
Посмотреть сообщение
Tente usar isso:

pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
    if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(GetPlayerSpecialAction(playerid) == 2)
        {
            new Float:Pos[3];
            GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
            SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]+0.2);
        }
    }
    return 1;
}
Veja se resolve.
Compilou sem erros, porйm quando solto o jetpack ele fica girando e nгo some como era pra sumir...

@edit...
Apуs algum tempo acabou sumir porйm demorou
Mesmo assim darei +rep , obrigado
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)