#include <a_samp>
#define SPECIAL_ACTION_PISSING 68
#define COLOR_BLUE 0x33AAFFFF
#define COLOR_YELLOW 0xFFFF00AA
public OnFilterScriptInit()
{
print(\"\\n--------------------------------------\");
print(\" Animok betöltése.. \");
print(\"--------------------------------------\\n\");
return 1;
}
public OnFilterScriptExit()
{
print(\"\\n----------------------------------\");
print(\" Animok kikapcsolása.. \");
print(\"----------------------------------\\n\");
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/animlista\", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_BLUE, \"/anim-relax | /anim-scared | /anim-sick | /anim-wave | /anim-spank | /anim-taichi | /anim-crossarms |\");
SendClientMessage(playerid, COLOR_BLUE, \"/anim-wank | /anim-kiss | /anim-talk | /anim-fucku | /anim-cocaine | /anim-rocky | /anim-sit | /anim-smoke |\");
SendClientMessage(playerid, COLOR_BLUE, \"/anim-beach | /anim-lookout | /anim-circle | /anim-medic | /anim-chat | /anim-die | /anim-slapa | /anim-rofl |\");
SendClientMessage(playerid, COLOR_BLUE, \"/anim-glitched | /anim-fakefire | /anim-bomb | /anim-robman | /anim-handsup | /anim-piss |\");
SendClientMessage(playerid, COLOR_BLUE, \"/anim-getin | /anim-skate | /anim-cover | /anim-fart | /anim-vomit | /anim-drunk | /anim-bj1 | /anim-bj2 | /anim-bj3\");
SendClientMessage(playerid, COLOR_BLUE, \"/funnywalk | /anim-kickass | /anim-cell | /anim-laugh | /anim-eat | /anim-injured |\");
SendClientMessage(playerid, COLOR_BLUE, \"/slapass | /anim-laydown | /anim-arrest | /anim-laugh | /anim-eat | /anim-carjack | /anim-strip | /anim-strip2\");
SendClientMessage(playerid, COLOR_BLUE, \"/animswat | /anim-animswat1 | /anim-animswat2 | /anim-animswat3 | /anim-animswat4 | /anim-animswat5\");
SendClientMessage(playerid, COLOR_BLUE, \"/animswat6 | /anim-strip3 | /anim-strip4 | /anim-strip5 | /anim-baseball | /anim-baseball2\");
return 1;
}
else if (strcmp(cmdtext, \"/anim-relax\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"BEACH\", \"bather\", 4.0, 1, 0, 0, 0, 0);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-handsup\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-bomb\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid, \"BOMBER\", \"BOM_Plant\", 4.0, 0, 0, 0, 0, 0);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-robman\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid, \"SHOP\", \"ROB_Loop_Threat\", 4.0, 1, 0, 0, 0, 0);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-wank\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"PAULNMAC\", \"wank_loop\", 1.800001, 1, 0, 0, 1, 600);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-crossarms\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"PAULNMAC\", \"wank_loop\", 1.800001, 1, 0, 0, 1, 600);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-taichi\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"PARK\",\"Tai_Chi_Loop\",4.0,1,0,0,0,0);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-spank\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid, \"SWEET\", \"sweet_ass_slap\", 4.0, 0, 0, 0, 0, 0);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-wave\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid, \"ON_LOOKERS\", \"wave_loop\", 4.0, 1, 0, 0, 0, 0);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-sick\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid, \"FOOD\", \"EAT_Vomit_P\", 3.0, 0, 0, 0, 0, 0);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-scared\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid, \"ped\", \"cower\", 3.0, 1, 0, 0, 0, 0);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-talk\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"PED\",\"IDLE_CHAT\",1.800001, 1, 1, 1, 1, 13000);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-kiss\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"KISSING\", \"Grlfrd_Kiss_02\", 1.800001, 1, 0, 0, 1, 600);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-sit\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"INT_OFFICE\", \"OFF_Sit_Bored_Loop\", 1.800001, 1, 0, 0, 1, 600);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-fucku\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"ped\", \"fucku\", 4.1, 0, 1, 1, 1, 1 );
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-cocaine\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"CRACK\", \"crckdeth2\", 1.800001, 1, 0, 0, 1, 600);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-rocky\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"GYMNASIUM\", \"GYMshadowbox\", 1.800001, 1, 0, 0, 1, 600);
}
return 1;
}
else if (strcmp(cmdtext, \"/anim-smoke\", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"SMOKING\", \"M_smklean_loop\", 4.0, 1, 0, 0, 0, 0);
}
return 1;
}
else if (strcmp(\"/anim-beach\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"BEACH\",\"SitnWait_loop_W\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-lookout\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"ON_LOOKERS\",\"lkup_in\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-circle\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"CHAINSAW\",\"CSAW_Hit_2\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-medic\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"MEDIC\",\"CPR\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-chat\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"PED\",\"IDLE_CHAT\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-die\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"PED\",\"BIKE_fallR\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-slapa\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"PED\",\"BIKE_elbowL\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-rofl\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"PED\",\"Crouch_Roll_L\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-glitched\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"TATTOOS\",\"TAT_Sit_Out_O\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-fakefire\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"SILENCED\",\"SilenceCrouchfire\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-fart\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
}
return 1;
}
else if (strcmp(\"/anim-vomit\", cmdtext, true) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid, \"FOOD\", \"EAT_Vomit_P\", 3.0, 0, 0, 0, 0, 0);
PlayerPlaySound(playerid, 1169, 0.0, 0.0, 0.0);
}
return 1;
}
else if (strcmp(\"/anim-drunk\", cmdtext, true, 10) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"PED\",\"WALK_DRUNK\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-getin\", cmdtext, true) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"NEVADA\",\"NEVADA_getin\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-piss\", cmdtext, true) == 0)
{
if (GetPlayerState(playerid)== 1)
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
}
return 1;
}
else if (strcmp(\"/anim-funnywalk\", cmdtext, true) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"WUZI\",\"Wuzi_Walk\",4.1,0,1,1,1,1);
}
return 1;
}
else if (strcmp(\"/anim-kickass\", cmdtext, true) == 0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,\"FIGHT_E\",\"Hit_fightkick\",4.1,0,1,1,1,1);
}
return 1;
}
if(strcmp(\"/anim-cell\", cmdtext, true) == 0)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
return 1;
}
if (strcmp(\"/anim-laugh\", cmdtext, true) == 0)
{
ApplyAnimation(playerid, \"RAPPING\", \"Laugh_01\", 4.0, 0, 0, 0, 0, 0);
return 1;
}
if (strcmp(\"/anim-eat\", cmdtext, true) == 0)
{
ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0);
return 1;
}
if(strcmp(\"/anim-injured\", cmdtext, true) == 0)
{
ApplyAnimation(playerid, \"SWEET\", \"Sweet_injuredloop\", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if (strcmp(\"/anim-slapass\", cmdtext, true) == 0)
{
ApplyAnimation(playerid, \"SWEET\", \"sweet_ass_slap\", 4.0, 0, 0, 0, 0, 0);
return 1;
}
if (strcmp(\"/anim-laydown\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"BEACH\", \"bather\", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if (strcmp(\"/anim-arrest\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"ped\", \"ARRESTgun\", 4.0, 0, 1, 1, 1, -1);
return 1;
}
if(strcmp(\"/anim-carjack\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"PED\",\"CAR_jackedLHS\",4.0,0,1,1,1,0);
return 1;
}
else if (strcmp(cmdtext, \"/stopanim\", true)==0)
{
ClearAnimations(playerid);
return 1;
}
if(strcmp(\"/anim-bj1\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"BLOWJOBZ\",\"BJ_STAND_END_W\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-bj2\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"BLOWJOBZ\",\"BJ_STAND_END_P\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-bj3\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"BLOWJOBZ\",\"BJ_STAND_LOOP_W\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-animswat\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"SWAT\",\"gnstwall_injurd\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-animswat2\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"SWAT\",\"JMP_Wall1m_180\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-animswat3\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"SWAT\",\"Rail_fall\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-animswat4\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"SWAT\",\"Rail_fall_crawl\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-animswat5\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"SWAT\",\"swt_breach_01\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-animswat6\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"SWAT\",\"swt_breach_02\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-strip\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"STRIP\",\"strip_A\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-strip2\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"STRIP\",\"strip_B\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-strip3\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"STRIP\",\"strip_C\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-strip4\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"STRIP\",\"strip_D\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-stri5\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"STRIP\",\"strip_E\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-baseball\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"BASEBALL\",\"Bat_1\",4.0,0,1,1,1,0);
return 1;
}
if(strcmp(\"/anim-baseball2\", cmdtext, true) == 0)
{
ApplyAnimation(playerid,\"BASEBALL\",\"Bat_2\",4.0,0,1,1,1,0);
return 1;
}
return 0;
}