30.05.2012, 02:09
Hey I'm knew to scripting I was just wondering how to add the new 0.3e Animation for cuffing
http://pastebin.com/MW6PhJNQ
http://pastebin.com/MW6PhJNQ
YCMD:cuff(playerid, params[], help)
{
if (help) {SendClientMessage(playerid, 0xFF9933FF, "/cuff [playername/id]");}
else
{
new targetid;
if(sscanf(params,"r",targetid)) return SendClientMessage(playerid, 0xFF9933FF, "/cuff [playername/id]");
RemovePlayerAttachedObject(targetid, 9);
SetPlayerAttachedObject(targetid, 9, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
SetPlayerSpecialAction(targetid, SPECIAL_ACTION_CUFFED);
}
return 1;
}