Cuff animation not displayed
#2

Try this..

pawn Код:
CMD:cuff(playerid, params[]){

    new targetid, pName2[MAX_PLAYER_NAME], pName3[MAX_PLAYER_NAME], string[128];

    if (sscanf(params, "u", targetid))
        return SendClientMessage(playerid, COLOR_SYNTAX, "Syntax: /cuff [playerid]");

    if(!IsPlayerConnected(targetid))
        return SendClientMessage(playerid, RED, "Invalid Player ID!");



    SetPlayerSpecialAction(targetid, SPECIAL_ACTION_CUFFED);
    SetPlayerAttachedObject(targetid, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
    GameTextForPlayer(targetid,"You have been cuffed",3000,5);
       
    GetPlayerName(playerid, pName2, sizeof(pName2));
    GetPlayerName(targetid, pName3, sizeof(pName3));

    format(string, sizeof(string), "%s has cuffed %s ", pName2, pName3);
    NearbyMessage(playerid, LIGHTBLUE, string);
    return 1;
}
Reply


Messages In This Thread
Cuff animation not displayed - by Zloto - 02.05.2015, 20:16
Re: Cuff animation not displayed - by AzaMx - 03.05.2015, 00:02
Re: Cuff animation not displayed - by Zloto - 03.05.2015, 00:16
Re: Cuff animation not displayed - by AzaMx - 03.05.2015, 00:28
Re: Cuff animation not displayed - by LMaxCo - 03.05.2015, 00:37
Re: Cuff animation not displayed - by MP2 - 03.05.2015, 00:52
Re: Cuff animation not displayed - by Zloto - 03.05.2015, 01:16

Forum Jump:


Users browsing this thread: 1 Guest(s)