Vocк pode utilizar este: https://sampforum.blast.hk/showthread.php?tid=313122
Caso alguns deles nгo agrade-o faзa uma pequena modificaзгo |
C:\Users\Junior.Rodrigo-PC\AppData\Documents\My DAP Downloads\Sistema_de_Animes.pwn(41) : warning 217: loose indentation
C:\Users\Junior.Rodrigo-PC\AppData\Documents\My DAP Downloads\Sistema_de_Animes.pwn(138) : error 054: unmatched closing brace ("}")
C:\Users\Junior.Rodrigo-PC\AppData\Documents\My DAP Downloads\Sistema_de_Animes.pwn(163) : error 054: unmatched closing brace ("}")
C:\Users\Junior.Rodrigo-PC\AppData\Documents\My DAP Downloads\Sistema_de_Animes.pwn(659) : warning 203: symbol is never used: "strdialog"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
/*
FilterScript Sistema de Animes
Direito autoriais: WeenSoares
Contato: weensoares@live.com
*/
//=============== INCLUDES ================//
#include <a_samp>
#include <zcmd>
#include <sscanf2>
//=============== NEW ================//
new anims[5];
new strdialog[750];//Total de Cйlulas 737, arrendondei :)
//=============== DEFINE ================//
#define SPECIAL_ACTION_PISSING 68
#define COLOR_RED 0xAA3333AA
#define ANIMES 911
//=============== ONFILTERSCRIPTINIT ================//
public OnFilterScriptInit()
{
print("******************************************************");
print("* [FilterScript] Sistema de Animes *\n");
print("* Carregando... *\n\n");
print("* Carregado 100%. *");
print("******************************************************");
return 1;
}
//=============== ANIMAЗХES ================//
CMD:animes(playerid)
{
SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
SendClientMessage(playerid, COLOR_RED, "| Traduzido e Modificado Por: Junior |");
SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
SendClientMessage(playerid, COLOR_RED, "| /Handsup /cellin /cellout /bebado /crossarms /deitar |");
SendClientMessage(playerid, COLOR_RED, "| /vomitar /overdose /gro /falar /sentar /dance /mijar |");
SendClientMessage(playerid, COLOR_RED, "| /fumar |");
SendClientMessage(playerid, COLOR_RED, "|=======================[Animes]=======================|");
return 1;
}
/*CMD:carjacked1(playerid)
{
ApplyAnimation(playerid,"PED","CAR_jackedLHS",4.0,0,1,1,1,0);
return 1;
}
CMD:carjacked2(playerid)
{
ApplyAnimation(playerid,"PED","CAR_jackedRHS",4.0,0,1,1,1,0);
return 1;
}*/
CMD:handsup(playerid)
{
ApplyAnimation(playerid, "ROB_BANK","SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0);
return 1;
}
CMD:cellin(playerid)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
return 1;
}
CMD:cellout(playerid)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
return 1;
}
CMD:bebado(playerid)
{
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
return 1;
}
/*CMD:bomb(playerid)
{
ClearAnimations(playerid);
ApplyAnimation(playerid, "BOMBER","BOM_Plant_Loop",4.0,1,0,0,1,0);
return 1;
}
CMD:getarrested(playerid)
{
ApplyAnimation(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
return 1;
}
CMD:laugh(playerid)
{
ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
return 1;
}
CMD:lookout(playerid)
{
ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
return 1;
}
CMD:robman(playerid)
{
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
return 1;
}*/
CMD:crossarms(playerid)
{
ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
return 1;
}
CMD:deitar(playerid)
{
ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
return 1;
}
/*CMD:hide(playerid)
{
ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
return 1;
}*/
CMD:vomitar(playerid)
{
ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
return 1;
}
/*CMD:eat(playerid)
{
ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
return 1;
}
CMD:wave(playerid)
{
ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}
CMD:slapass(playerid)
{
ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
return 1;
}
CMD:deal(playerid)
{
ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
return 1;
*/}
CMD:overdose(playerid)
{
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
return 1;
}
CMD:gro(playerid)
{
ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0); // Sit
return 1;
}
CMD:falar(playerid)
{
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,1,0,0,1,1);
return 1;
}
/*CMD:fucku(playerid)
{
ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
return 1;
}
CMD:taichi(playerid)
{
ApplyAnimation(playerid,"PARK","Tai_Chi_Loop",4.0,1,0,0,0,0);
return 1;
*/}
CMD:sentar(playerid)
{
ApplyAnimation(playerid,"PED","SEAT_down",4.1,0,1,1,1,0);
return 1;
}
/*CMD:fall(playerid)
{
ApplyAnimation(playerid,"PED","KO_skid_front",4.1,0,1,1,1,0);
return 1;
}
CMD:fallback(playerid)
{
ApplyAnimation(playerid, "PED","FLOOR_hit_f", 4.0, 1, 0, 0, 0, 0);
return 1;
}
CMD:kiss(playerid)
{
ApplyAnimation(playerid, "KISSING", "Playa_Kiss_02", 3.0, 1, 1, 1, 1, 0);
return 1;
}
CMD:injured(playerid)
{
ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
return 1;
}
CMD:push(playerid)
{
ApplyAnimation(playerid,"GANGS","shake_cara",4.0,0,0,0,0,0);
return 1;
}
CMD:akick(playerid)
{
ApplyAnimation(playerid,"POLICE","Door_Kick",4.0,0,0,0,0,0);
return 1;
}
CMD:lowbodypush(playerid)
{
ApplyAnimation(playerid,"GANGS","shake_carSH",4.0,0,0,0,0,0);
return 1;
}
CMD:spray(playerid)
{
ApplyAnimation(playerid,"SPRAYCAN","spraycan_full",4.0,0,0,0,0,0);
return 1;
}
CMD:headbutt(playerid)
{
ApplyAnimation(playerid,"WAYFARER","WF_Fwd",4.0,0,0,0,0,0);
return 1;
}
CMD:hoodfrisked(playerid)
{
ApplyAnimation(playerid,"POLICE","crm_drgbst_01",4.0,0,1,1,1,0);
return 1;
}
CMD:lightcig(playerid)
{
ApplyAnimation(playerid,"SMOKING","M_smk_in",3.0,0,0,0,0,0);
return 1;
}
CMD:tapcig(playerid)
{
ApplyAnimation(playerid,"SMOKING","M_smk_tap",3.0,0,0,0,0,0);
return 1;
}
CMD:bat(playerid)
{
ApplyAnimation(playerid,"BASEBALL","Bat_IDLE",4.0,1,1,1,1,0);
return 1;
}
CMD:box(playerid)
{
ApplyAnimation(playerid,"GYMNASIUM","GYMshadowbox",4.0,1,1,1,1,0);
return 1;
}
CMD:lay2(playerid)
{
ApplyAnimation(playerid,"SUNBATHE","Lay_Bac_in",3.0,0,1,1,1,0);
return 1;
}
CMD:chant(playerid)
{
ApplyAnimation(playerid,"RIOT","RIOT_CHANT",4.0,1,1,1,1,0);
return 1;
}
CMD:finger(playerid)
{
ApplyAnimation(playerid,"RIOT","RIOT_FUKU",2.0,0,0,0,0,0);
return 1;
}
CMD:shouting(playerid)
{
ApplyAnimation(playerid,"RIOT","RIOT_shout",4.0,1,0,0,0,0);
return 1;
}
CMD:cop(playerid)
{
ApplyAnimation(playerid,"SWORD","sword_block",50.0,0,1,1,1,1);
return 1;
}
CMD:elbow(playerid)
{
ApplyAnimation(playerid,"FIGHT_D","FightD_3",4.0,0,1,1,0,0);
return 1;
}
CMD:kneekick(playerid)
{
ApplyAnimation(playerid,"FIGHT_D","FightD_2",4.0,0,1,1,0,0);
return 1;
}
CMD:fstance(playerid)
{
ApplyAnimation(playerid,"FIGHT_D","FightD_IDLE",4.0,1,1,1,1,0);
return 1;
}
CMD:gpunch(playerid)
{
ApplyAnimation(playerid,"FIGHT_B","FightB_G",4.0,0,0,0,0,0);
return 1;
}
CMD:airkick(playerid)
{
ApplyAnimation(playerid,"FIGHT_C","FightC_M",4.0,0,1,1,0,0);
return 1;
}
CMD:gkick(playerid)
{
ApplyAnimation(playerid,"FIGHT_D","FightD_G",4.0,0,0,0,0,0);
return 1;
}
CMD:lowthrow(playerid)
{
ApplyAnimation(playerid,"GRENADE","WEAPON_throwu",3.0,0,0,0,0,0);
return 1;
}
CMD:highthrow(playerid)
{
ApplyAnimation(playerid,"GRENADE","WEAPON_throw",4.0,0,0,0,0,0);
return 1;
}
CMD:dealstance(playerid)
{
ApplyAnimation(playerid,"DEALER","DEALER_IDLE",4.0,1,0,0,0,0);
return 1;
}*/
CMD:mijar(playerid)
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
return 1;
}
/*CMD:medic(playerid)
{
ApplyAnimation(playerid,"MEDIC","CPR",4.0,0,0,0,0,0);
return 1;
}
CMD:koface(playerid)
{
ApplyAnimation(playerid,"PED","KO_shot_face",4.0,0,1,1,1,0);
return 1;
}
CMD:kostomach(playerid)
{
ApplyAnimation(playerid,"PED","KO_shot_stom",4.0,0,1,1,1,0);
return 1;
}
CMD:lifejump(playerid)
{
ApplyAnimation(playerid,"PED","EV_dive",4.0,0,1,1,1,0);
return 1;
}
CMD:exhaust(playerid)
{
ApplyAnimation(playerid,"PED","IDLE_tired",3.0,1,0,0,0,0);
return 1;
}
CMD:leftslap(playerid)
{
ApplyAnimation(playerid,"PED","BIKE_elbowL",4.0,0,0,0,0,0);
return 1;
}
CMD:rollfall(playerid)
{
ApplyAnimation(playerid,"PED","BIKE_fallR",4.0,0,1,1,1,0);
return 1;
}
CMD:carlock(playerid)
{
ApplyAnimation(playerid,"PED","CAR_doorlocked_LHS",4.0,0,0,0,0,0);
return 1;
}
CMD:rcarjack1(playerid)
{
ApplyAnimation(playerid,"PED","CAR_pulloutL_LHS",4.0,0,0,0,0,0);
return 1;
}
CMD:lcarjack1(playerid)
{
ApplyAnimation(playerid,"PED","CAR_pulloutL_RHS",4.0,0,0,0,0,0);
return 1;
}
CMD:rcarjack2(playerid)
{
ApplyAnimation(playerid,"PED","CAR_pullout_LHS",4.0,0,0,0,0,0);
return 1;
}
CMD:lcarjack2(playerid)
{
ApplyAnimation(playerid,"PED","CAR_pullout_RHS",4.0,0,0,0,0,0);
return 1;
}*/
CMD:fumar(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /fumar [1-4]");
}
else
{
if(strcmp(anims, "0", true) == 0)
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /fumar [1-4]");
}
if(strcmp(anims, "1", true) == 0)
{
ApplyAnimation(playerid,"SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(anims, "2", true) == 0)
{
ApplyAnimation(playerid,"SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(anims, "3", true) == 0)
{
ApplyAnimation(playerid,"SMOKING","M_smkstnd_loop", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(anims, "4", true) == 0)
{
ApplyAnimation(playerid,"SMOKING","M_smk_out", 4.0, 1, 0, 0, 0, 0);
}
}
return 1;
}
/* CMD:sup(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /sup [1-3]");
}
else
{
if(strcmp(anims, "1", true) == 0)
{
ApplyAnimation(playerid,"GANGS","hndshkba",4.0,0,0,0,0,0);
}
if(strcmp(anims, "2", true) == 0)
{
ApplyAnimation(playerid,"GANGS","hndshkda",4.0,0,0,0,0,0);
}
if(strcmp(anims, "3", true) == 0)
{
ApplyAnimation(playerid,"GANGS","hndshkfa_swt",4.0,0,0,0,0,0);
}
}
return 1;
}
CMD:rap(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /rap [1-4]");
}
else
{
if(strcmp(anims, "1", true) == 0)
{
ApplyAnimation(playerid,"RAPPING","RAP_A_Loop",4.0,1,0,0,0,0);
}
if(strcmp(anims, "2", true) == 0)
{
ApplyAnimation(playerid,"RAPPING","RAP_C_Loop",4.0,1,0,0,0,0);
}
if(strcmp(anims, "3", true) == 0)
{
ApplyAnimation(playerid,"GANGS","prtial_gngtlkD",4.0,1,0,0,0,0);
}
if(strcmp(anims, "4", true) == 0)
{
ApplyAnimation(playerid,"GANGS","prtial_gngtlkH",4.0,1,0,0,1,1);
}
}
return 1;
}
CMD:knife(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /knife [1-4]");
}
else
{
if(strcmp(anims, "1", true) == 0)
{
ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Damage",4.0,0,1,1,1,0);
}
if(strcmp(anims, "2", true) == 0)
{
ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Die",4.0,0,1,1,1,0);
}
if(strcmp(anims, "3", true) == 0)
{
ApplyAnimation(playerid,"KNIFE","KILL_Knife_Player",4.0,0,0,0,0,0);
}
if(strcmp(anims, "4", true) == 0)
{
ApplyAnimation(playerid,"KNIFE","KILL_Partial",4.0,0,1,1,1,1);
}
}
return 1;
}
CMD:basket(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /knife [1-6]");
}
else
{
if(strcmp(anims, "1", true) == 0)
{
ApplyAnimation(playerid,"BSKTBALL","BBALL_idleloop",4.0,1,0,0,0,0);
}
if(strcmp(anims, "2", true) == 0)
{
ApplyAnimation(playerid,"BSKTBALL","BBALL_Jump_Shot",4.0,0,0,0,0,0);
}
if(strcmp(anims, "3", true) == 0)
{
ApplyAnimation(playerid,"BSKTBALL","BBALL_pickup",4.0,0,0,0,0,0);
}
if(strcmp(anims, "4", true) == 0)
{
ApplyAnimation(playerid,"BSKTBALL","BBALL_run",4.1,1,1,1,1,1);
}
if(strcmp(anims, "5", true) == 0)
{
ApplyAnimation(playerid,"BSKTBALL","BBALL_def_loop",4.0,1,0,0,0,0);
}
if(strcmp(anims, "6", true) == 0)
{
ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk",4.0,1,0,0,0,0);
}
}
return 1;
}
CMD:reload(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /reload [deagle/smg/ak/m4]");
}
else
{
if(strcmp(anims, "deagle", true) == 0)
{
ApplyAnimation(playerid,"COLT45","colt45_reload",4.0,0,0,0,0,1);
}
if(strcmp(anims, "smg", true) == 0 || strcmp(anims, "ak", true) == 0 || strcmp(anims, "m4", true) == 0)
{
ApplyAnimation(playerid,"UZI","UZI_reload",4.0,0,0,0,0,0);
}
}
return 1;
}
CMD:gwalk(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /gwalk [1-2]");
}
else
{
if(strcmp(anims, "1", true) == 0)
{
ApplyAnimation(playerid,"PED","WALK_gang1",4.1,1,1,1,1,1);
}
if(strcmp(anims, "2", true) == 0)
{
ApplyAnimation(playerid,"PED","WALK_gang2",4.1,1,1,1,1,1);
}
}
return 1;
}
CMD:aim(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /aim [1-3]");
}
else
{
if(strcmp(anims, "1", true) == 0)
{
ApplyAnimation(playerid,"PED","gang_gunstand",4.0,1,1,1,1,1);
}
if(strcmp(anims, "2", true) == 0)
{
ApplyAnimation(playerid,"PED","Driveby_L",4.0,0,1,1,1,1);
}
if(strcmp(anims, "3", true) == 0)
{
ApplyAnimation(playerid,"PED","Driveby_R",4.0,0,1,1,1,1);
}
}
return 1;
}
CMD:lean(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /lean [1-2]");
}
else
{
if(strcmp(anims, "1", true) == 0)
{
ApplyAnimation(playerid,"GANGS","leanIDLE",4.0,0,1,1,1,0);
}
if(strcmp(anims, "2", true) == 0)
{
ApplyAnimation(playerid,"MISC","Plyrlean_loop",4.0,0,1,1,1,0);
}
}
return 1;
}
CMD:strip(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /strip [a-g]");
}
else
{
if(strcmp(anims, "a", true) == 0)
{
ApplyAnimation(playerid,"STRIP", "strip_A", 4.1, 1, 1, 1, 1, 1 );
}
if(strcmp(anims, "b", true) == 0)
{
ApplyAnimation(playerid,"STRIP", "strip_B", 4.1, 1, 1, 1, 1, 1 );
}
if(strcmp(anims, "c", true) == 0)
{
ApplyAnimation(playerid,"STRIP", "strip_C", 4.1, 1, 1, 1, 1, 1 );
}
if(strcmp(anims, "d", true) == 0)
{
ApplyAnimation(playerid,"STRIP", "strip_D", 4.1, 1, 1, 1, 1, 1 );
}
if(strcmp(anims, "e", true) == 0)
{
ApplyAnimation(playerid,"STRIP", "strip_E", 4.1, 1, 1, 1, 1, 1 );
}
if(strcmp(anims, "f", true) == 0)
{
ApplyAnimation(playerid,"STRIP", "strip_F", 4.1, 1, 1, 1, 1, 1 );
}
if(strcmp(anims, "g", true) == 0)
{
ApplyAnimation(playerid,"STRIP", "strip_G", 4.1, 1, 1, 1, 1, 1 );
}
}
return 1;
}*/
CMD:dance(playerid, params[])
{
if(sscanf(params, "s", anims))
{
SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /dance [1-3]");
}
else
{
if(strcmp(anims, "1", true) == 0)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
}
if(strcmp(anims, "2", true) == 0)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
}
if(strcmp(anims, "3", true) == 0)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
}
}
return 1;
}