24.06.2018, 23:07
Use:
PHP код:
//CORPO DO PLAYER CAIDO NO CHAO
Skin = GetPlayerSkin(playerid);
GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
GetPlayerFacingAngle(playerid, Pos[3]);
Actor = CreateActor(Skin, Pos[0],Pos[1],Pos[2],Pos[3]);
ApplyActorAnimation(Actor, "PED", "KO_shot_stom",4.1,0,1,1,1,1);
if(killerid != INVALID_PLAYER_ID) format(StR,sizeof(StR),"{BEBEBE}Corpo de {FFFFFF}%s\n{BEBEBE}Assasino: {FFFFFF}%s",PlayerName(playerid),PlayerName(killerid));
else format(StR,sizeof(StR),"{BEBEBE}Corpo de {FFFFFF}%s\n{BEBEBE}Assasino: {FFFFFF}Desconhecido",PlayerName(playerid));
Label = Create3DTextLabel(StR, 0x008080FF,Pos[0],Pos[1],Pos[2],40.0, 0, 0);
SetTimerEx("Final",minutos(3), false, "i", playerid);
return 1;
}