Codico Do cadaver, (EXPLICANDO, Queria criar ele (O CADAVER) Ja Com o id Apartir do 100) Tipo Cadaver 1 = 101 Cadaver 2 102 e assim sucessivamente
Код:
new string[100];
GetPlayerName(playerid, cActor[playerid][Name34], 24);
GetPlayerPos(playerid, cActor[playerid][posr][0],cActor[playerid][posr][1], cActor[playerid][posr][2]);
GetPlayerFacingAngle(playerid, cActor[playerid][posr][3]);
cActor[playerid][SkinID3] = GetPlayerSkin(playerid);
cActor[playerid][Money3] = GetPlayerMoney(playerid);
cActor[playerid][Interior2] = GetPlayerInterior(playerid);
cActor[playerid][World2] = GetPlayerVirtualWorld(playerid);
cActor[playerid][ActorID3] = CreateActor(cActor[playerid][SkinID3],cActor[playerid][posr][0],cActor[playerid][posr][1],cActor[playerid][posr][2],cActor[playerid][posr][3]);
SetActorHealth(cActor[playerid][ActorID3], 0);
ApplyActorAnimation(cActor[playerid][ActorID3], "PED", "FLOOR_hit_f", 4.1, 0, 1, 1, 1, 0);
format(string, sizeof(string), "Corpo {COR_ERRO}:%s |{COR_AZUL} Actor ID:%d", cActor[playerid][Name34], cActor[playerid][ActorID3]);
cActor[playerid][LabelID] = Create3DTextLabel(string, 0xFFFFFFFF, cActor[playerid][posr][0], cActor[playerid][posr][1], cActor[playerid][posr][2], 10.0, cActor[playerid][World2], 1);
SetTimerEx("Cadaver", 5*12000, false, "i", playerid);