2 Errors on Cuff animation!!! +Rep for the one who Fix it!
#10

pawn Код:
}
    else
    {
    format(string, sizeof(string), "* You Cuffed %s.", giveplayer);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), "* %s Hand Cuffs %s, so he wont go anywhere.", sendername ,giveplayer);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    }
    GameTextForPlayer(giveplayerid, "~r~Cuffed", 2500, 3);
    //test Cuffed animation
    SetPlayerSpecialAction(giveplayerid,SPECIAL_ACTION_CUFFED);
    SetPlayerAttachedObject(giveplayerid, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977,-81.700035, 0.891999, 1.000000, 1.168000);//this will set the object cuffs at the hand of the player you want to cuff.
    //Test cuffed animation End
    //TogglePlayerControllable(giveplayerid, 0); //annars ta tillbaka om ej funkar
    //ClearAnimations(giveplayerid); //annars ta tillbaka om ej funkar
    //ApplyAnimation(giveplayerid,"ped","cower",1,1,0,0,0,0); //annars ta tillbaka om ej funkar
    //ApplyAnimation(giveplayerid,"ped","cower",1,1,0,0,0,0); //annars ta tillbaka om ej funkar
    PlayerCuffed[giveplayerid] = 2;
    PlayerCuffedTime[giveplayerid] = 300;
    }
    else
    {
Take...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)