28.10.2015, 13:19
(
Последний раз редактировалось Bumie; 29.10.2015 в 12:59.
)
In my gamemode, this is my animation "KNIFE", "KILL_Knife_Ped_Die", 4.0, 0, 1, 1, 1, 0, 1);.
And I want to change the animation like sever LS-RP, but I don't know the name of the animation. Please help
Some one ask me to find it at https://sampwiki.blast.hk/wiki/Animations. But there're to much animation and I don't know where I should start to test, so I left a question here, hope some one help. Thank you
https://www.youtube.com/watch?v=8NtP...ature=*********
The animation is in the last of the video
And I want to change the animation like sever LS-RP, but I don't know the name of the animation. Please help
Some one ask me to find it at https://sampwiki.blast.hk/wiki/Animations. But there're to much animation and I don't know where I should start to test, so I left a question here, hope some one help. Thank you
Код:
case 1:
{
Streamer_UpdateEx(playerid, GetPVarFloat(playerid,"MedicX"), GetPVarFloat(playerid,"MedicY"), GetPVarFloat(playerid,"MedicZ"));
SetPlayerPos(playerid, GetPVarFloat(playerid,"MedicX"), GetPVarFloat(playerid,"MedicY"), GetPVarFloat(playerid,"MedicZ"));
SetPlayerVirtualWorld(playerid, GetPVarInt(playerid,"MedicVW"));
SetPlayerInterior(playerid, GetPVarInt(playerid,"MedicInt"));
SetPVarInt(playerid, "EMSAttempt", -1);
if(GetPlayerInterior(playerid) > 0) Player_StreamPrep(playerid, GetPVarFloat(playerid,"MedicX"), GetPVarFloat(playerid,"MedicY"), GetPVarFloat(playerid,"MedicZ"), FREEZE_TIME);
GameTextForPlayer(playerid, "~r~Bi thuong~n~~w~/chapnhan chet hoac /dichvu capcuu", 5000, 3);
ClearAnimations(playerid);
ApplyAnimation(playerid, "KNIFE", "KILL_Knife_Ped_Die", 4.0, 0, 1, 1, 1, 0, 1);
SetPlayerHealth(playerid, 100);
RemoveArmor(playerid);
if(GetPVarInt(playerid, "usingfirstaid") == 1)
{
firstaidexpire(playerid);
}
SetPVarInt(playerid,"MedicCall",1);
new string[128];
dielabel[playerid] = Create3DTextLabel(" ",0xFF0000FF,30.0,40.0,50.0,15.0,0);
format(string,sizeof(string),"(( Nguoi nay dang bi thuong ))");
Update3DTextLabelText(dielabel[playerid], 0xFF0000FF, string);
Attach3DTextLabelToPlayer(dielabel[playerid], playerid, 0.0, 0.0, 0.4);
SendClientMessageEx(playerid, COLOR_TWBLUE, "Su dung lenh [/chapnhan chet] neu ban da het co hoi song sot.");
//TogglePlayerControllable(playerid,0);
}
The animation is in the last of the video



I will show you the code all of my ApplyAnimation when died of my gamemode.