animation arrest
#5

I just made ​​a script but my character does not perform the animation. Handcuffs are formed correctly.

pawn Код:
#include <a_samp>
#include <zcmd>

CMD:skuj(playerid, params[])
{
    if(!IsNumeric(params) || isnull(params))
        return SendClientMessage(playerid, -1, "Użyj: /skuj <id>");
    new player = strval(params);
   
    SetPlayerSpecialAction(player, SPECIAL_ACTION_CUFFED);
    SetPlayerAttachedObject(player, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
    return 1;
}
   
   
stock IsNumeric(const string[])
{
    for (new i = 0, j = strlen(string); i < j; i++)
    {
        if (string[i] > '9' || string[i] < '0') return 0;
    }
    return 1;
}
Reply


Messages In This Thread
animation arrest - by inferno211 - 29.04.2012, 11:09
Re: animation arrest - by MichaelProPlayer - 29.04.2012, 11:13
Re: animation arrest - by JaKe Elite - 29.04.2012, 11:16
Re: animation arrest - by MichaelProPlayer - 29.04.2012, 11:18
Re: animation arrest - by inferno211 - 29.04.2012, 11:47
Re: animation arrest - by inferno211 - 29.04.2012, 13:30
Re: animation arrest - by Faisal_khan - 29.04.2012, 16:16
Re: animation arrest - by iRemix - 29.04.2012, 16:39

Forum Jump:


Users browsing this thread: 1 Guest(s)