SA-MP Forums Archive
0.3e bug ( Special Action ) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: 0.3e bug ( Special Action ) (/showthread.php?tid=341442)



0.3e bug ( Special Action ) - scott1 - 10.05.2012

Hi all,

there is an bug, when you use SPECIAL_ACTION_CUFFED

you can hit players, you don't see that you hit them but the lose life.

Max


Re: 0.3e bug ( Special Action ) - seanny - 10.05.2012

Temporary fix:

pawn Код:
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED)//Credits to some guy here, not sure who made it though
    {
        if(PRESSED(KEY_FIRE) || PRESSED(KEY_SECONDARY_ATTACK | 128))
        {
             ClearAnimations(playerid);
             SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CUFFED);
        }
        if(PRESSED(KEY_JUMP))
        {
             ClearAnimations(playerid);
             SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CUFFED);
        }
    }



Re : 0.3e bug ( Special Action ) - scott1 - 10.05.2012

Would be better if SAMP team fix it

Max


Re: 0.3e bug ( Special Action ) - seanny - 10.05.2012

Yea you're right, but that fix I provided will do for now anyway.


Re : 0.3e bug ( Special Action ) - scott1 - 10.05.2012

Yes for the moment

Max