Noticias:

Debes de estar registrado para poder ver el contenido indicado. Registrate o Conectate

Menú Principal

Acciones (By kyeman)

Iniciado por Swarlog, Ene 30, 2023, 04:37 PM

Tema anterior - Siguiente tema

Swarlog

Información Adicional:

Es algo básico pero muy util para empezar desde cero. Se trata de la lista báasica de acciones, asi como la ejecución de dicha acción mediante su animación al utilizar el comando.

Código:

//-------------------------------------------------
//
//  Animaciones en español
//  Basado en Actions de kyeman
//
//-------------------------------------------------

#pragma tabsize 0
#include <a_samp>
#include <core>
#include <float>

#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_GREEN 0x339900AA

//-------------------------------------------------

strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}

new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}

//-------------------------------------------------

public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[256];
new idx;
new dancestyle;
cmd = strtok(cmdtext, idx);

// HANDSUP
if(strcmp(cmd, "/rendirse", true) == 0) {
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
return 1;
}
}
// Drunk
if(strcmp(cmd, "/drunk", true) == 0) {
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
ApplyAnimation(playerid,"PED", "WALK_DRUNK",4.0,1,1,1,1,500);
SendClientMessage(playerid, 0x339900AA, "borrachin"); // Walk Drunk
return 1;
}
}
// Place a Bomb
if (strcmp("/bomba", cmdtext, true) == 0) {
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 1, 1, 0,0); // Place Bomb
return 1;
}
// Police Arrest
if (strcmp("/arrestado", cmdtext, true) == 0) {
ApplyAnimation( playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1,500); // Gun Arrest
SendClientMessage(playerid, 0x339900AA, "Quieto");
return 1;
}

// Laugh
if (strcmp("/jaja", cmdtext, true) == 0) {
ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0,0); // Laugh
SendClientMessage(playerid, 0x339900AA, "Jajajaja");
return 1;
}
// Rob Lookout
if (strcmp("/sapiar", cmdtext, true) == 0) {
ApplyAnimation(playerid,"PED","roadcross_female",4.1,0,0,0,0,0); // Rob Lookout
SendClientMessage(playerid, 0x339900AA, "Sapiando");
return 1;
}
// Rob Threat
if (strcmp("/amenazar", cmdtext, true) == 0) {
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 0, 0, 0, 1,500); // Rob
SendClientMessage(playerid, 0x339900AA, "Pasa las moneas");
return 1;
}
// wank in
if (strcmp("/paja", cmdtext, true) == 0) {
ApplyAnimation(playerid, "PAULNMAC", "wank_loop", 4.0, 1, 0, 0, 1, 0); // Wank In
SendClientMessage(playerid, 0x339900AA, "te recomiendo /irsecortao");
return 1;
}
// Wank Out
if (strcmp("/irsecortao", cmdtext, true) == 0) {
ApplyAnimation(playerid, "PAULNMAC", "wank_out", 4.0, 0, 0, 0, 0, 0); // Wank Out
SendClientMessage(playerid, 0x339900AA, "Te fuiste cortao");
return 1;
}
// Agredido
if (strcmp("/agredido", cmdtext, true) == 0) {
ApplyAnimation(playerid, "POLICE", "crm_drgbst_01", 4.0, 0, 0, 0, 1, 0); // Arrested
SendClientMessage(playerid, 0x339900AA, "para continuar /levantarse");
return 1;
}
// Injury
if (strcmp("/herido", cmdtext, true) == 0) {
ApplyAnimation(playerid, "SWEET", "LaFin_Sweet", 4.0, 0, 1, 1, 1, 0); // Injured
SendClientMessage(playerid, 0x339900AA, "para continuar /agonizar");
return 1;
}
// encender
if (strcmp("/prender", cmdtext, true) == 0) {
ApplyAnimation(playerid, "SMOKING", "M_smk_in", 4.000000, 0, 0, 1, 1, 0); // opcion /apagar /inhalar
SendClientMessage(playerid, 0x339900AA, "para continuar /inhalar o /apagar");
return 1;
}
// inhalar
if (strcmp("/inhalar", cmdtext, true) == 0) {
ApplyAnimation(playerid, "SMOKING", "M_smk_drag", 4.000000, 1, 0, 0, 0, -1); //opcion apagar
SendClientMessage(playerid, 0x339900AA, "para continuar /apagar");
return 1;
}
// apagar
if (strcmp("/apagar", cmdtext, true) == 0) {
ApplyAnimation(playerid, "SMOKING", "M_smk_out", 4.000000, 0, 1, 1, 0, 0);
return 1;
}
// Cop Look
if (strcmp("/vigilar", cmdtext, true) == 0) {
ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 1, 1, 1, 0, 4000); // Cop Looking
return 1;
}
// pabajo recostarse //
if (strcmp("/recostarse", cmdtext, true) == 0) {
ApplyAnimation(playerid,"SUNBATHE", "Lay_Bac_in", 4.0, 0, 0, 0, 1, 0); // Lay down
SendClientMessage(playerid, 0x339900AA, "para continuar /pararse");
return 1;
}
// parriba recostarse //
if (strcmp("/pararse", cmdtext, true) == 0) {
ApplyAnimation(playerid,"SUNBATHE", "Lay_Bac_out", 4.0, 0, 0, 0, 0, 0); // Lay down
return 1;
}
// Take Cover
if (strcmp("/cubrirse", cmdtext, true) == 0) {
ApplyAnimation(playerid, "ped", "cower", 4.0, 1, 0, 0, 0, 0); // Taking Cover
SendClientMessage(playerid, 0x339900AA, "para continuar /pararse");
return 1;
}
// Vomit
if (strcmp("/vomitar", cmdtext, true) == 0) {
ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); // Vomit BAH!
SendClientMessage(playerid, 0x339900AA, "buaaaaajjj");
return 1;
}
// Eat Burger
if (strcmp("/cenar", cmdtext, true) == 0) {
ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.00, 0, 0, 0, 0, 0); // Eat Burger
return 1;
}
// Wave
if (strcmp("/chao", cmdtext, true) == 0) {
ApplyAnimation(playerid, "KISSING", "BD_GF_Wave", 3.0, 0, 0, 0, 0, 0); // Wave
SendClientMessage(playerid, 0x339900AA, "chao");
return 1;
}
// Slap Ass
if (strcmp("/palmada", cmdtext, true) == 0) {
ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0); // Ass Slapping
SendClientMessage(playerid, 0x339900AA, "su palmadita");
return 1;
}
// Death Crawling
if (strcmp("/agonizar", cmdtext, true) == 0) {
ApplyAnimation(playerid, "WUZI", "CS_Dead_Guy", 4.0, 0, 0, 0, 1, 0); // Dead Crawling
SendClientMessage(playerid, 0x339900AA, "para continuar /levantarse");
return 1;
}
// pararse de frente
if (strcmp("/levantarse", cmdtext, true) == 0) {
ApplyAnimation(playerid, "ped", "getup_front", 4.000000, 0, 0, 0, 0, 0);//pararse
return 1;
}
// Dealer
if (strcmp("/traficar", cmdtext, true) == 0) {
ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0); // Deal Drugs
SendClientMessage(playerid, 0x339900AA, "pasando y pasando");
return 1;
}
// Kiss
if (strcmp("/beso", cmdtext, true) == 0) {
ApplyAnimation(playerid, "KISSING", "Playa_Kiss_02", 4.0, 0, 0, 0, 0, 0); // Kiss
return 1;
}
// Crack Dieing
if (strcmp("/crack", cmdtext, true) == 0) {
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 0, 0, 0, 1, 0); // Dieing of Crack
SendClientMessage(playerid, 0x339900AA, "para continuar /levantarse");
return 1;
}
// Piss
if (strcmp("/mear", cmdtext, true) == 0) {
ApplyAnimation(playerid, "PAULNMAC", "Piss_in", 4.0, 0, 0, 0, 0, 0); // Pissing
SendClientMessage(playerid, 0x339900AA, "psssssssssss");
return 1;
}
// Male Smoking
if (strcmp("/fumar", cmdtext, true) == 0) {
ApplyAnimation(playerid,"SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0); // Smoke
return 1;
}
// Sit
if (strcmp("/sentarse", cmdtext, true) == 0) {
ApplyAnimation(playerid, "SUNBATHE", "ParkSit_M_in", 4.000000, 0, 1, 1, 1, 0);
SendClientMessage(playerid, 0x339900AA, "para continuar /pararse");
return 1;
}
// pararse
if (strcmp("/pararse", cmdtext, true) == 0) {
ApplyAnimation(playerid, "ped", "SEAT_up", 4.000000, 0, 1, 1, 1, 0);
return 1;
}
// Fuck U
if (strcmp("/fokear", cmdtext, true) == 0) {
ApplyAnimation( playerid,"ped", "fucku", 4.0, 0, 1, 1, 1, 1 ); // Wave fist / Pull fingers (with block hands)
SendClientMessage(playerid, 0x339900AA, "que te pasa ql?");
return 1;
}
// si
if (strcmp("/si", cmdtext, true) == 0) {
ApplyAnimation(playerid, "GANGS", "Invite_Yes", 4.0, 0, 0, 0, 0, 0); // si
SendClientMessage(playerid, 0x339900AA, "si");
return 1;
}
// no
if (strcmp("/no", cmdtext, true) == 0) {
ApplyAnimation(playerid, "GANGS", "Invite_No", 4.0, 0, 0, 0, 0, 0); // no
SendClientMessage(playerid, 0x339900AA, "no");
return 1;
}
// llamar
if (strcmp("/llamada", cmdtext, true) == 0) {
ApplyAnimation(playerid, "ped", "phone_in", 4.000000, 0, 0, 0, 1, 4000); // llamar
SendClientMessage(playerid, 0x339900AA, "para continuar /colgar");
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
return 1;
}
// contestar
if (strcmp("/contestacion", cmdtext, true) == 0) {
ApplyAnimation(playerid, "ped", "phone_in", 4.000000, 0, 0, 0, 1, 4000); // llamar
SendClientMessage(playerid, 0x339900AA, "para continuar /colgar");
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
return 1;
}
// Colgar
if (strcmp("/colgarcel", cmdtext, true) == 0) {
ApplyAnimation(playerid, "ped", "phone_out", 4.000000, 0, 1, 1, 0, 0);// colgar
return 1;
}
// piquero
if (strcmp("/piquero", cmdtext, true) == 0) {
ApplyAnimation(playerid, "DAM_JUMP", "DAM_Launch", 4.0, 0, 1, 1, 1, 1); // su piquerito
return 1;
}
// taichi
if (strcmp("/taichi", cmdtext, true) == 0) {
ApplyAnimation(playerid, "PARK", "Tai_Chi_Loop",  4.1,7,5,1,1,1);// om
SendClientMessage(playerid, 0x339900AA, "siente el flujo");
return 1;
}
// beber
if (strcmp("/drink", cmdtext, true) == 0) {
ApplyAnimation(playerid, "BAR", "dnk_stndM_loop", 4.0, 0, 1, 1, 0, 4000); // beber
return 1;
}
// comprar
if (strcmp("/comerciar", cmdtext, true) == 0) {
ApplyAnimation(playerid, "DEALER", "shop_pay", 4.000000, 0, 1, 1, 0, 0);
return 1;
}
// boxear
if (strcmp("/boxear", cmdtext, true) == 0) {
ApplyAnimation(playerid, "GYMNASIUM", "gym_shadowbox",  4.1,7,5,1,1,1);
return 1;
}
// pose pelea
if (strcmp("/pelea", cmdtext, true) == 0) {
ApplyAnimation(playerid, "ped", "FIGHTIDLE", 4.000000, 0, 1, 1, 1, 1);
SendClientMessage(playerid, 0x339900AA, "para continuar /boxear");
return 1;
}
// recoger
if (strcmp("/recoger", cmdtext, true) == 0) {
ApplyAnimation(playerid, "BSKTBALL", "BBALL_pickup", 4.000000, 0, 1, 1, 1, 1);
SendClientMessage(playerid, 0x339900AA, "para continuar /botear");
return 1;
}
// dar botes
if (strcmp("/botear", cmdtext, true) == 0) {
ApplyAnimation(playerid, "BSKTBALL", "BBALL_walk", 4.000000, 1, 1, 1, 1, 500);
SendClientMessage(playerid, 0x339900AA, "para continuar /clavarse 0 /lanzar");
return 1;
}
// clavarse
if (strcmp("/clavarse", cmdtext, true) == 0) {
ApplyAnimation(playerid, "BSKTBALL", "BBALL_def_jump_shot", 4.0, 0, 1, 1, 1, 500);
return 1;
}
// lanzar
if (strcmp("/lanzar", cmdtext, true) == 0) {
ApplyAnimation(playerid, "BSKTBALL", "BBALL_Jump_Shot", 4.0, 0, 1, 1, 1, 500);
return 1;
}
// tomar asiento
if (strcmp("/asiento", cmdtext, true) == 0) {
ApplyAnimation(playerid, "ped", "SEAT_down", 4.000000, 0, 0, 0, 1, 0);
SendClientMessage(playerid, 0x339900AA, "para continuar /depie");
return 1;
}
// de pie
if (strcmp("/depie", cmdtext, true) == 0) {
ApplyAnimation(playerid, "ped", "SEAT_up", 4.000000, 0, 0, 1, 0, 0);
return 1;
}
// servirse
if (strcmp("/servirse", cmdtext, true) == 0) {
ApplyAnimation(playerid,"BAR","Barcustom_get",4.1,0,0,0,0,0);
return 1;
}
// servir
if (strcmp("/servir", cmdtext, true) == 0) {
ApplyAnimation(playerid,"BAR","Barserve_give",4.1,0,0,0,0,0);
return 1;
}
// asiento2
if (strcmp("/asiento2", cmdtext, true) == 0) {
ApplyAnimation(playerid,"Attractors","Stepsit_in",4.1,0,0,0,1,0);
SendClientMessage(playerid, 0x339900AA, "para continuar /depie2");
return 1;
}
// depie2
if (strcmp("/depie2", cmdtext, true) == 0) {
ApplyAnimation(playerid,"Attractors","Stepsit_out",4.1,0,0,0,0,0);
return 1;
}
// mmm
if (strcmp("/mmm", cmdtext, true) == 0) {
ApplyAnimation(playerid,"COP_AMBIENT","Coplook_think",4.1,0,0,0,0,0);
return 1;
}
// rodar
if (strcmp("/rodar", cmdtext, true) == 0) {
ApplyAnimation(playerid,"MD_CHASE","MD_HANG_Lnd_Roll",4.1,0,1,1,1,0);
SendClientMessage(playerid, 0x339900AA, "para continuar /levantarse");
return 1;
}
// saludos
if (strcmp("/saludo1", cmdtext, true) == 0) {
ApplyAnimation(playerid,"GANGS","hndshkaa",4.1,0,0,0,0,0);
return 1;
}
// saludo2
if (strcmp("/saludo2", cmdtext, true) == 0) {
ApplyAnimation(playerid,"GANGS","hndshkba",4.1,0,0,0,0,0);
return 1;
}
// saludo3
if (strcmp("/saludo3", cmdtext, true) == 0) {
ApplyAnimation(playerid,"GANGS","hndshkca",4.1,0,0,0,0,0);
return 1;
}
// saludo4
if (strcmp("/saludo4", cmdtext, true) == 0) {
ApplyAnimation(playerid,"GANGS","hndshkfa_swt",4.1,0,0,0,0,0);
return 1;
}
// sanar
if (strcmp("/sanar", cmdtext, true) == 0) {
ApplyAnimation(playerid,"MEDIC","CPR",4.1,0,0,0,0,0);
return 1;
}
// llorar
if (strcmp("/llorar", cmdtext, true) == 0) {
ApplyAnimation(playerid,"GRAVEYARD","mrnF_loop",4.1,0,0,0,0,0);
return 1;
}
// Dormir
if (strcmp("/noniar", cmdtext, true) == 0) {
ApplyAnimation(playerid,"INT_HOUSE","BED_In_R",4.1,0,0,0,1,0);
return 1;
}
// Detener
if (strcmp("/detener", cmdtext, true) == 0) {
ApplyAnimation(playerid,"POLICE","CopTraf_Stop",4.1,0,0,0,0,0);
return 1;
}
// rapear
if (strcmp("/rapear", cmdtext, true) == 0) {
ApplyAnimation(playerid,"RAPPING","RAP_B_Loop",4.0,1,0,0,0,8000);
return 1;
////////////////////////////////////////////////////////////////////////////////////////////////////
//============================================acciones=cristo=======================================
////////////////////////////////////////////////////////////////////////////////////////////////////
}

//////strip
if (strcmp("/strip", cmdtext, true) == 0) {
SendClientMessage(playerid, 0xAA3333AA, "/strip[1-20]");
return 1;
}
//
if (strcmp("/strip1", cmdtext, true) == 0) {
ApplyAnimation(playerid,"CAR","flag_drop",4.1,0,1,1,1,1);//
return 1;
}



//
if (strcmp("/strip2", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","PUN_CASH",4.1,7,5,1,1,1);
return 1;
}


//
if (strcmp("/strip3", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","PUN_HOLLER",4.1,7,5,1,1,1);
return 1;
}




//
if (strcmp("/strip4", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","PUN_LOOP",4.1,7,5,1,1,1);
return 1;
}

//
if (strcmp("/strip5", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","strip_A",4.1,7,5,1,1,1);
return 1;
}

//
if (strcmp("/strip6", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","strip_B",4.1,7,5,1,1,1);
return 1;
}


//
if (strcmp("/strip7", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","strip_C",4.1,7,5,1,1,1);
return 1;
}



//
if (strcmp("/strip8", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
return 1;
}



//
if (strcmp("/strip9", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","strip_E",4.1,7,5,1,1,1);
return 1;
}



//
if (strcmp("/strip10", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","strip_F",4.1,7,5,1,1,1);
return 1;
}


//
if (strcmp("/strip11", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","strip_G",4.1,7,5,1,1,1);
return 1;
}

// sexi
if (strcmp("/strip12", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","STR_B2A",4.1,0,1,1,1,1);
return 1;
}

// strip
if (strcmp("/strip13", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","strip_E",4.1,7,5,1,1,1);
return 1;
}

//
if (strcmp("/strip14", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","STR_B2C",4.000000, 0, 1, 1, 1, 0);
return 1;
}

//
if (strcmp("/strip15", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","STR_C1",4.000000, 0, 1, 1, 1, 0);
return 1;
}

//strip
if (strcmp("/strip16", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","STR_C2",4.000000, 0, 1, 1, 1, 0);
return 1;
}

// strip
if (strcmp("/strip17", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","STR_C2B",4.1,7,5,1,1,1);
return 1;
}

// strip
if (strcmp("/strip18", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","STR_Loop_A",4.1,7,5,1,1,1);
return 1;
}

// strip
if (strcmp("/strip19", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","STR_Loop_C",4.1,7,5,1,1,1);
return 1;
}

// strip
if (strcmp("/strip20", cmdtext, true) == 0) {
ApplyAnimation(playerid,"STRIP","STR_Loop_B",4.1,7,5,1,1,1);
return 1;
}


/////////////////////////////////////////////////////////////////////////////////
//sentado
if (strcmp("/echarse", cmdtext, true) == 0) {
ApplyAnimation(playerid,"SUNBATHE","SitnWait_in_W",4.000000, 0, 0, 0, 1, 0);
return 1;
}




//puta
if (strcmp("/asientosexi", cmdtext, true) == 0) {
ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_idleA",4.000000, 0, 1, 1, 1, 0);
SendClientMessage(playerid, 0x339900AA, "para continuar /pararse");
return 1;
}


if (strcmp("/skate", cmdtext, true) == 0) {
SendClientMessage(playerid, 0xAA3333AA, "/skate 1 2 y 3");
return 1;
}

if (strcmp("/SKATE1", cmdtext, true) == 0) {
ApplyAnimation(playerid,"SKATE","skate_run",4.0,1,1,1,1,500);
return 1;
}

if (strcmp("/SKATE2", cmdtext, true) == 0) {
ApplyAnimation(playerid,"SKATE","skate_sprint",4.0,1,1,1,1,500);
return 1;
}


//////patada
if (strcmp("/patada", cmdtext, true) == 0) {
ApplyAnimation(playerid,"FIGHT_C","FightC_2",4.1,7,5,1,1,1);
return 1;
}

//////dansa
if (strcmp("/danzar", cmdtext, true) == 0) {
SendClientMessage(playerid, 0xAA3333AA, "/danzar[0-12]");
return 1;
}

if (strcmp("/danzar0", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","bd_clap",4.1,7,5,1,1,1);
return 1;
}

//////dansa
if (strcmp("/danzar1", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","bd_clap1",4.1,7,5,1,1,1);
return 1;
}

//////danza
if (strcmp("/danzar2", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","dance_loop",4.1,7,5,1,1,1);
return 1;
}


//////dansa
if (strcmp("/danzar3", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","DAN_Down_A",4.1,7,5,1,1,1);
return 1;
}

//////danza
if (strcmp("/danzar4", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","DAN_Left_A",4.1,7,5,1,1,1);
return 1;
}

//////danza
if (strcmp("/danzar5", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","DAN_Loop_A",4.1,7,5,1,1,1);
return 1;
}

//////danza
if (strcmp("/danzar6", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","DAN_Right_A",4.1,7,5,1,1,1);
return 1;
}

//////danza
if (strcmp("/danzar7", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","DAN_Up_A",4.1,7,5,1,1,1);
return 1;
}

//////danza
if (strcmp("/danzar8", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","dnce_M_a",4.1,7,5,1,1,1);
return 1;
}

//////danza
if (strcmp("/danzar9", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","dnce_M_b",4.1,7,5,1,1,1);
return 1;
}

//////danza
if (strcmp("/danzar10", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","dnce_M_c",4.1,7,5,1,1,1);
return 1;
}

//////danza
if (strcmp("/danzar11", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","dnce_M_d",4.1,7,5,1,1,1);
return 1;
}

//////danza
if (strcmp("/danzar12", cmdtext, true) == 0) {
ApplyAnimation(playerid,"DANCING","dnce_M_e",4.1,7,5,1,1,1);
return 1;
}



if (strcmp("/skate3", cmdtext, true) == 0) {
ApplyAnimation(playerid,"SKATE","skate_idle",4.0,1,1,1,1,500);
return 1;
}


if (strcmp("/fumar2", cmdtext, true) == 0) {
ApplyAnimation(playerid,"SMOKING","F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}


if (strcmp("/fumar3", cmdtext, true) == 0) {
ApplyAnimation(playerid,"SMOKING","M_smkstnd_loop", 4.0, 1, 0, 0, 0, 0);
return 1;


}

if (strcmp("/asustado", cmdtext, true) == 0) {
ApplyAnimation(playerid,"PED","handscower",4.1,0,1,1,1,1);
return 1;

}


if (strcmp("/taxi", cmdtext, true) == 0) {
ApplyAnimation(playerid,"PED","IDLE_taxi",4.1,0,1,1,1,1);
return 1;

}


if (strcmp("/adolorido", cmdtext, true) == 0) {
ApplyAnimation(playerid,"PED","KO_shot_stom",4.1,0,1,1,1,1);
return 1;

}

if (strcmp("/seacabo", cmdtext, true) == 0) {
ApplyAnimation(playerid,"PED","Shove_Partial",4.1,0,1,1,1,1);
return 1;

}

if (strcmp("/correr", cmdtext, true) == 0) {
ApplyAnimation(playerid,"PED","sprint_civi",4.0,1,1,1,1,500);
return 1;

}

if (strcmp("/fuerza", cmdtext, true) == 0) {
ApplyAnimation(playerid,"benchpress","gym_bp_celebrate",4.1,0,1,1,1,1);
return 1;

}

if (strcmp("/choriso", cmdtext, true) == 0) {
ApplyAnimation(playerid,"PED","WALK_gang1",4.0,1,1,1,1,500);
return 1;

}



if (strcmp("/tullio", cmdtext, true) == 0) {
ApplyAnimation(playerid,"PED","WALK_old",4.0,1,1,1,1,500);
return 1;

}

if (strcmp("/mujer", cmdtext, true) == 0) {
ApplyAnimation(playerid,"PED","WOMAN_walkpro",4.0,1,1,1,1,500);
return 1;

}



if (strcmp("/asco", cmdtext, true) == 0) {
ApplyAnimation(playerid,"FOOD","EAT_Vomit_SK",4.1,0,1,1,1,1);
SendClientMessage(playerid, 0x339900AA, "guacala");
return 1;

}

if (strcmp("/quepa", cmdtext, true) == 0) {
ApplyAnimation(playerid,"GANGS","hndshkea",4.1,0,1,1,1,1);
SendClientMessage(playerid, 0x339900AA, "Que te pasa loco");
return 1;

}


if (strcmp("/wooo", cmdtext, true) == 0) {
ApplyAnimation(playerid,"ON_LOOKERS","shout_02",4.1,7,5,1,1,1);
SendClientMessage(playerid, 0x339900AA, "wooooo");
return 1;
}

if (strcmp("/quepasa", cmdtext, true) == 0) {
ApplyAnimation(playerid,"GHANDS","gsign1LH",4.1,0,1,1,1,1);
SendClientMessage(playerid, 0x339900AA, "que pasa!!");
return 1;
}

if (strcmp("/alsar", cmdtext, true) == 0) {
ApplyAnimation(playerid,"GHANDS","gsign2LH",4.1,0,1,1,1,1);
SendClientMessage(playerid, 0x339900AA, "que pasa!!");
return 1;

}

if (strcmp("/cansado", cmdtext, true) == 0) {
ApplyAnimation(playerid,"PED","WOMAN_runfatold",4.1,7,5,1,1,1);
SendClientMessage(playerid, 0x339900AA, "haaa");
return 1;
}
if (strcmp("/superpatada", cmdtext, true) == 0) {
ApplyAnimation(playerid,"FIGHT_C","FightC_3",4.1,0,1,1,1,1);
SendClientMessage(playerid, 0x339900AA, "haaa");
return 1;
}
if (strcmp("/comodo", cmdtext, true) == 0) {
ApplyAnimation(playerid,"INT_HOUSE","LOU_In",4.1,0,1,1,1,1);
SendClientMessage(playerid, 0x339900AA, "estas comodo");
return 1;
}
if(strcmp(cmd, "/hablar", true) == 0){
ApplyAnimation(playerid,"PED","IDLE_chat",4.1,7,5,1,1,1);
return 1;
//___________________________________________________________________________________________
/////////////////////////////////////////fin acciones cristo///////////////////////////////////
}


// Idle Chat
if(strcmp(cmd, "/hablar", true) == 0)
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
ApplyAnimation(playerid,"PED","IDLE_chat",4.1,7,5,1,1,1);
return 1;



}
}
// START DANCING
if(strcmp(cmd, "/bailar", true) == 0) {
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
new tmp[256];

// Get the dance style param
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid,0x339900AA,"Uso: /bailar [estilo 1-3]");
return 1;
}

dancestyle = strval(tmp);
if(dancestyle < 1 || dancestyle > 3) {
SendClientMessage(playerid,0x339900AA,"Usage: /bailar [estilo 1-3]");
return 1;
}

if(dancestyle == 1) {
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
} else if(dancestyle == 2) {
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
} else if(dancestyle == 3) {
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
}
return 1;
}
}
// SUICIDE COMMAND
/*if(strcmp(cmd, "/suicidio", true) == 0) {
SetPlayerHealth(playerid,0.0);
return 1;
}*/

//acciones
if(strcmp("/acciones",cmdtext,true)==0)
{
SendClientMessage(playerid,COLOR_GREEN,"/si,/no,/rendirse,/borracho,/mmm,/servir,/servirse");
SendClientMessage(playerid,COLOR_WHITE,"/bomba,/arrestar,/jaja,/sapiar,/asiento,/asiento2");
SendClientMessage(playerid,COLOR_GREEN,"/amenazar,/agredido,/herido,/rodar,/llorar");
SendClientMessage(playerid,COLOR_WHITE,"/encender,/vigilar,/recostarse,/saludo1 2 3 y 4");
SendClientMessage(playerid,COLOR_GREEN,"/cubrirse,/vomitar,/comer,/despedirse,/dormir");
SendClientMessage(playerid,COLOR_WHITE,"/palmada,/agonizar,/traficar,/beso,/crack,/detener");
SendClientMessage(playerid,COLOR_GREEN,"/fumar,/sentarse,/fokear,/piquero,/rapear");
SendClientMessage(playerid,COLOR_WHITE,"/taichi,/boxear,/bailar[1-3],/drink");
SendClientMessage(playerid,COLOR_GREEN,"/hablar,/sucidio,/llamar,/recoger,/sanar");
SendClientMessage(playerid,COLOR_WHITE,"mas acciones /acciones2");

return 1;
}
if(strcmp("/acciones2",cmdtext,true)==0)
{
SendClientMessage(playerid,COLOR_WHITE,"/strip[1-20],/echarse,/asientosexi,/skate1 2 y 3 ");
SendClientMessage(playerid,COLOR_GREEN,"/patada,/danzar[0-12], /fumar2,fumar3");
SendClientMessage(playerid,COLOR_WHITE,"/asustado,/taxi,/adolorido,/seacabo,/fuerza ");
SendClientMessage(playerid,COLOR_GREEN,"/choriso,/tullio,/mujer,/cansado,/asco,/comodo");
SendClientMessage(playerid,COLOR_WHITE,"/quepa,/wooo,/quepasa,/alsar,/superpatada");



return 1;
}
return 0;
}


// EOF