#include
#include
#define FILTERSCRIPT
#define COR_REP
new animationplayed;
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Sistema De Animes By David_Groove");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/animes", cmdtext, true, 10) == 0 || strcmp("/anims", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COR_REP, "/bebado /apontar /de4 /deitar /cobrar /overdose");
SendClientMessage(playerid, COR_REP, "/abaixar /vomitar /passaramao /mijar /masturbar");
SendClientMessage(playerid, COR_REP, "/fumar /fumar2 /gro /fodase /taichi /creu");
SendClientMessage(playerid, COR_REP,"{54FF9F}=============================================================================");
return 1;
}
if(strcmp("/de4", cmd, true) == 0)
{
ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,1,1,1,1,1,1);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/fodase", cmd, true) == 0)
{
ApplyAnimation(playerid, "PED", "fucku", 4.0, 0, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/taichi", cmd, true) == 0)
{
ApplyAnimation(playerid, "PARK", "Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/observar", cmd, true) == 0)
{
ApplyAnimation(playerid, "BAR", "dnk_stndF_loop", 4.0, 1, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/bebado", cmd, true) == 0)
{
ApplyAnimation(playerid, "PED", "WALK_DRUNK", 4.0, 1, 1, 1, 1, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/deitar", cmd, true) == 0)
{
ApplyAnimation(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/abaixar", cmd, true) == 0)
{
ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/vomitar", cmd, true) == 0)
{
ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/passaramao", cmd, true) == 0)
{
ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/cobrar", cmd, true) == 0)
{
ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/overdose", cmd, true) == 0)
{
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/fumar", cmd, true) == 0)
{
ApplyAnimation(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/fumarbaseado", cmd, true) == 0)
{
ApplyAnimation(playerid, "SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/fumar2", cmd, true) == 0)
{
ApplyAnimation(playerid, "SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/gro", cmd, true) == 0)
{
ApplyAnimation(playerid, "BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/mijar", cmd, true) == 0)
{
SetPlayerSpecialAction(playerid, 68);
return 1;
}
if(strcmp("/masturbar", cmd, true) == 0)
{
ApplyAnimation(playerid,"PAULNMAC", "wank_loop", 1.800001, 1, 0, 0, 1, 600);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp("/wave", cmd, true) == 0)
{
ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
PlayerInfo[playerid][pAnime] = 1;
return 1;
}
if(strcmp(cmd, "/handsup", true) == 0)
{
if(antihands[playerid] == 1)
{
SendClientMessage(playerid,COLOR_LIGHTGREEN,"você está congelado nao pode usar o comando!");
return 1;
}
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
return 1;
}
}
if(strcmp(cmd, "/dance", true) == 0)
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid,0xFF0000FF,">USE /dance [1-3]");
return 1;
}
animationplayed = strval(tmp);
if(animationplayed < 1 || animationplayed > 3)
{
SendClientMessage(playerid,0xFF0000FF,">USE /dance [1-3]");
return 1;
}
if(animationplayed == 1)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
} else if(animationplayed == 2) {
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
} else if(animationplayed == 3) {
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
}
return 1;
}
}
return 0;
}