PHP код:
public OnPlayerCommandText(playerid,cmdtext[])
{
if(strcmp("/sairanime", cmd, true) == 0)
{
ClearAnimations(playerid);
SendClientMessage(playerid, Vermelho, "[Info-RedBull] Voce Parou a Sua Animaзгo ");
return 1;
}
//---------------------------------------ANIMAЗХES---------------------------------------//
if(strcmp("/renderse", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
SetPlayerSpecialAction(playerid, 10);
return 1;
}
if(strcmp("/ligar2", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
SetPlayerSpecialAction(playerid, 11);
return 1;
}
if(strcmp("/desligar2", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
SetPlayerSpecialAction(playerid, 13);
return 1;
}
if(strcmp("/bebado", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "PED", "WALK_DRUNK", 4.0, 1, 1, 1, 1, 0);
return 1;
}
if(strcmp("/bomba", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ClearAnimations(playerid);
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
return 1;
}
if(strcmp("/apontar", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
return 1;
}
if(strcmp("/merda", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
return 1;
}
if(strcmp("/mascararse", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
return 1;
}
if(strcmp("/roubar", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp("/cruzarb", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
return 1;
}
if(strcmp("/deitar", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp("/abaixar", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp("/vomitar", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
return 1;
}
if(strcmp("/comer", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
return 1;
}
if(strcmp("/rap", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp("/passaramao", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
return 1;
}
if(strcmp("/cobrar", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
return 1;
}
if(strcmp("/overdose", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp("/fumar", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp("/fumar2", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp("/sentar", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp("/conversar", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.0, 0, 0, 0, 0, 0);
return 1;
}
if(strcmp("/fodase", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "PED", "fucku", 4.0, 0, 0, 0, 0, 0);
return 1;
}
if(strcmp("/taichi", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "PARK", "Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp("/observar", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "BAR", "dnk_stndF_loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if (strcmp("/mulhersexo", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid,"benchpress","gym_bp_up_B",4.1,0,1,1,1,1);
return 1;
}
if (strcmp("/comermulher", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid,"MD_END","END_SC1_SMO",4.1,0,1,1,1,1);
return 1;
}
if (strcmp("/de4", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,0,1,1,1,1);
return 1;
}
if (strcmp("/mulherfudida", cmdtext, true, 10) ==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid,"FINALE","FIN_Land_Die",4.1,0,1,1,1,1);
return 1;
}
if (strcmp(cmdtext, "/punheta", true)==0)
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid,"PAULNMAC", "wank_loop", 1.800001, 1, 0, 0, 1, 600);
return 1;
}
if(!strcmp(cmdtext,"/dancar1",true))
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DANCE1);
return true;
}
if(!strcmp(cmdtext,"/dancar2",true))
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DANCE2);
return true;
}
if(!strcmp(cmdtext,"/dancar3",true))
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DANCE3);
return true;
}
if(!strcmp(cmdtext,"/dancar4",true))
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DANCE4);
return true;
}
if(!strcmp(cmdtext,"/roubar",true))
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
return true;
}
if(!strcmp(cmdtext,"/tchau",true))
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
return true;
}
if(!strcmp(cmdtext,"/saltopiscina",true))
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid,"DAM_JUMP","DAM_LAUNCH",2,0,1,1,0,0);
return true;
}
if(!strcmp(cmdtext,"/boxear",true))
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid,"GYMNASIUM", "GYMshadowbox", 1.800001, 1, 0, 0, 1, 600);
return true;
}
if(!strcmp(cmdtext,"/rolar",true))
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
ApplyAnimation(playerid,"PED","Crouch_Roll_L",4.1,0,1,1,1,1);
return true;
}
if(!strcmp(cmdtext,"/mijar",true))
{
GameTextForPlayer(playerid, "~r~/sairanime", 8000, 1);
SetPlayerSpecialAction(playerid, 68);
return true;
}