19/07/2023 13:49
(Esta mensagem foi modificada pela última vez a: 19/07/2023 13:51 por Usuário Aleatório.)
(19/07/2023 12:43)Aranha Escreveu:seria isso?Código:new ACTORMDPDELS = CreateDynamicActor(307,256.7617,64.4825,1003.6406,268.2628);//ACTOR POLICIAL MULHER DP DE LS
ApplyDynamicActorAnimation(ACTORMDPDELS,"COP_AMBIENT","Coplook_loop",4.000000,1,1,1,1,-1);
tente ai
n deu,continoou dando a DEALER_IDLE mesmo assim ;_;
(19/07/2023 12:55)xbruno1000x Escreveu: Simplesmente tem algo de errado no seu gamemode. Não há nenhum problema relatado no SA-MP sobre essas animações, é um problema exclusivo do seu gamemode. O que tem de código relacionado a animações?
Caso faça preload, confira se a new está assim:
Código:new const AnimLibs[][] = {
"AIRPORT", "ATTRACTORS", "BAR", "BASEBALL", "BD_FIRE",
"BEACH", "BENCHPRESS", "BF_INJECTION", "BIKE_DBZ", "BIKED",
"BIKEH", "BIKELEAP", "BIKES", "BIKEV", "BLOWJOBZ",
"BMX", "BOMBER", "BOX", "BSKTBALL", "BUDDY",
"BUS", "CAMERA", "CAR", "CAR_CHAT", "CARRY",
"CASINO", "CHAINSAW", "CHOPPA", "CLOTHES", "COACH",
"COLT45", "COP_AMBIENT", "COP_DVBYZ", "CRACK", "CRIB",
"DAM_JUMP", "DANCING", "DEALER", "DILDO", "DODGE",
"DOZER", "DRIVEBYS", "FAT", "FIGHT_B", "FIGHT_C",
"FIGHT_D", "FIGHT_E", "FINALE", "FINALE2", "FLAME",
"FLOWERS", "FOOD", "FREEWEIGHTS", "GANGS", "GFUNK",
"GHANDS", "GHETTO_DB", "GOGGLES", "GRAFFITI", "GRAVEYARD",
"GRENADE", "GYMNASIUM", "HAIRCUTS", "HEIST9", "INT_HOUSE",
"INT_OFFICE", "INT_SHOP", "JST_BUISNESS", "KART", "KISSING",
"KNIFE", "LAPDAN1", "LAPDAN2", "LAPDAN3", "LOWRIDER",
"MD_CHASE", "MD_END", "MEDIC", "MISC", "MTB",
"MUSCULAR", "NEVADA", "ON_LOOKERS", "OTB", "PARACHUTE",
"PARK", "PAULNMAC", "PED", "PLAYER_DVBYS", "PLAYIDLES",
"POLICE", "POOL", "POOR", "PYTHON", "QUAD",
"QUAD_DBZ", "RAPPING", "RIFLE", "RIOT", "ROB_BANK",
"ROCKET", "RUNNINGMAN", "RUSTLER", "RYDER", "SCRATCHING",
"SEX", "SHAMAL", "SHOP", "SHOTGUN", "SILENCED",
"SKATE", "SMOKING", "SNIPER", "SNM", "SPRAYCAN",
"STRIP", "SUNBATHE", "SWAT", "SWEET", "SWIM",
"SWORD", "TANK", "TATTOOS", "TEC", "TRAIN",
"TRUCK", "UZI", "VAN", "VENDING", "VORTEX",
"WAYFARER", "WEAPONS", "WOP", "WUZI"
};
O meu preload tá assim:
Código PHP:
stock PreloadAnims(playerid)
{
PreloadAnimLib(playerid,"GANGS");
PreloadAnimLib(playerid,"BD_FIRE");
PreloadAnimLib(playerid,"CAMERA");
PreloadAnimLib(playerid,"ON_LOOKERS");
PreloadAnimLib(playerid,"BAR");
PreloadAnimLib(playerid,"PAULNMAC");
PreloadAnimLib(playerid,"KISSING");
PreloadAnimLib(playerid,"GYMNASIUM");
PreloadAnimLib(playerid,"BOMBER");
PreloadAnimLib(playerid,"BEACH");
PreloadAnimLib(playerid,"POLICE");
PreloadAnimLib(playerid,"GRAVEYARD");
PreloadAnimLib(playerid,"FIGHT_D");
PreloadAnimLib(playerid,"FIGHT_C");
PreloadAnimLib(playerid,"FIGHT_B");
PreloadAnimLib(playerid,"RIOT");
PreloadAnimLib(playerid,"SMOKING");
PreloadAnimLib(playerid,"SWAT");
PreloadAnimLib(playerid,"PARK");
PreloadAnimLib(playerid,"FAT");
PreloadAnimLib(playerid,"ATTRACTORS");
PreloadAnimLib(playerid,"BENCHPRESS");
PreloadAnimLib(playerid,"FREEWEIGHTS");
PreloadAnimLib(playerid,"FOOD");
PreloadAnimLib(playerid,"COP_AMBIENT");
PreloadAnimLib(playerid,"CLOTHES");
PreloadAnimLib(playerid,"DEALER");
PreloadAnimLib(playerid,"RAPPING");
PreloadAnimLib(playerid,"SHOP");
PreloadAnimLib(playerid,"CAR");
PreloadAnimLib(playerid,"CASINO");
PreloadAnimLib(playerid,"BSKTBALL");
PreloadAnimLib(playerid,"RYDER");
PreloadAnimLib(playerid,"CRIB");}
stock PreloadAnimLib(playerid, animlib[]) {
ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0); }
Código PHP:
PreloadAnims(playerid);
Programador de Samp (ainda iniciante,mas futuramente grande)