| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780 |
- #include <a_samp>
- #include <zcmd>
- #include <sscanf2>
- // important colors
- #define COLOR_ACCOUNT 0x7EFCA0FF
- #define COLOR_ERROR 0xFF6347FF
- #define COLOR_ORANGE 0xFF8000FF
- #define COLOR_GRAD1 0xB4B5B7FF
- #define COLOR_GRAD2 0xBFC0C2FF
- #define COLOR_GRAD3 0xCBCCCEFF
- #define COLOR_GRAD4 0xD8D8D8FF
- #define COLOR_GRAD5 0xE3E3E3FF
- #define COLOR_GRAD6 0xF0F0F0FF
- #define COLOR_GRAY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_YELLOW 0xE4CA78AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_PURPLE 0xC2A2DAAA
- #define COLOR_PMF 0xFFCC00FF
- #define COLOR_PMS 0xCCA300FF
- //=======================================//
- main()
- {
- print("\n/*-----------------------------------*\\");
- print("|*=====[Salazar's Workspace Loaded]=====*|");
- print("\\*-----------------------------------*/\n");
- }
- new bool:JustConnected[MAX_PLAYERS];
- public OnPlayerRequestClass(playerid, classid)
- {
- TogglePlayerSpectating(playerid, true);
- if(JustConnected[playerid])
- {
- JustConnected[playerid] = false;
- SetTimerEx("OnPlayerRequestClass", 100, false, "ii", playerid, classid);
- }
- else
- {
- TogglePlayerSpectating(playerid, false);
- SpawnPlayer(playerid);
- }
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- }
- public OnPlayerConnect(playerid)
- {
- GameTextForPlayer(playerid,"~r~T~w~exture ~r~S~w~tudio ~b~1.9~g~d",5000,5);
- JustConnected[playerid] = true;
- return 1;
- }
- public OnGameModeInit()
- {
- SetGameModeText("Delseyrian's Utopia");
- AddPlayerClass(150,1322.1832,1564.2081,10.8203,300.1425,0,0,0,0,-1,-1);
- //AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
- return 1;
- }
- stock ApplyAnimationEx(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync = 0)
- {
- ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);
- }
- stock PlayerUseAnims(playerid)
- {
- if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT || GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED)
- {
- return 0;
- }
- return 1;
- }
- //======================COMMANDS STARTS FROM HERE===========================//
- public OnPlayerKeyStateChange(playerid)
- {
- // if(PRESSED(KEY_SPRINT))
- // {
- // if (GetPVarInt(playerid, "AnimUse") == 1)
- // {
- // ApplyAnimation(playerid, "CARRY", "crry_prtial", 2.0, 0, 0, 0, 0, 0);
- // DeletePVar(playerid,"AnimUse");
- // }
- // }
- }
- #define ALTCOMMAND:%1->%2; \
- COMMAND:%1(playerid, params[]) \
- return cmd_%2(playerid, params);
- //okay commands started
- //COMMAND:fucku(playerid, params[])
- //{
- // SetPVarInt(playerid, "AnimUse" , 1);
- // ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
- // return 1;
- //}
- CMD:setskin(playerid, params[])
- {
- new targetid, skinid;
- if(sscanf(params, "ud", targetid, skinid)) return SendClientMessage(playerid, -1, "/setskin [playerid] [skin]");
- SetPlayerSkin(targetid, skinid);
- return 1;
- }
- new nametagsstatus;
- CMD:playernametags(playerid, params[])
- {
- if(sscanf(params, "i", nametagsstatus))
- {
- return SendClientMessage(playerid, -1, "/playernametags [1 = on, 0 = off]");
- }
- if(nametagsstatus == 0)
- {
- SendClientMessage(playerid, -1, "nametags have been enabled.");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- ShowPlayerNameTagForPlayer(i, playerid, 1);
- }
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- ShowPlayerNameTagForPlayer(playerid, i, 1);
- }
- }
- else if(nametagsstatus == 1)
- {
- SendClientMessage(playerid, -1, "nametags have been disabled");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- ShowPlayerNameTagForPlayer(i, playerid, 0);
- }
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- ShowPlayerNameTagForPlayer(playerid, i, 0);
- }
- }
- return 1;
- }
- CMD:ta(playerid, params[])
- {
- new slot, model, bone;
- if(sscanf(params, "ddd", slot, model, bone)) return SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /ta [slot] [model] [bone]");
- SetPlayerAttachedObject(playerid, slot, model, bone);
- return 1;
- }
- CMD:td(playerid, params[])
- {
- new slot;
- if(sscanf(params, "ddd", slot)) return SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /td [slot]");
- RemovePlayerAttachedObject(playerid, slot);
- return 1;
- }
- CMD:te(playerid, params[])
- {
- new slot;
- if(sscanf(params, "d", slot)) return SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /te [slot]");
- EditAttachedObject(playerid, slot);
- return 1;
- }
- CMD:tbones(playerid, params[])
- {
- SendClientMessage(playerid, COLOR_GREEN, "______________________________________________________________________________");
- SendClientMessage(playerid, COLOR_GRAD1, "1 Spine, 2 Head, 3 Left upper arm, 4 Right upper arm");
- SendClientMessage(playerid, COLOR_GRAD1, "5 Left hand, 6 Right hand, 7 Left thigh, 8 Right thigh");
- SendClientMessage(playerid, COLOR_GRAD1, "9 Left foot, 10 Right foot, 11 Right calf, 12 Left calf");
- SendClientMessage(playerid, COLOR_GRAD1, "13 Left forearm, 14 Right forearm, 15 Left clavicle (shoulder)");
- SendClientMessage(playerid, COLOR_GRAD1, "16 Right clavicle (shoulder), 17 Neck, 18 Jaw");
- SendClientMessage(playerid, COLOR_GREEN, "______________________________________________________________________________");
- return 1;
- }
- CMD:anim(playerid, params[]) return cmd_animhelp(playerid, params);
- CMD:anims(playerid, params[]) return cmd_animhelp(playerid, params);
- CMD:animations(playerid, params[]) return cmd_animhelp(playerid, params);
- CMD:animhelp(playerid, params[])
- {
- SendClientMessage(playerid, COLOR_GREEN, "______________________________________________________________________________");
- SendClientMessage(playerid, COLOR_GRAD1, "/handsup, /drunk, /cry, /bomb, /wank, /putmask, /hitch, /scratchballs, /rap /showoff, /dance, /dodge.");
- SendClientMessage(playerid, COLOR_GRAD1, "/dj, /what, /lean, /vomit, /getjiggy, /aim, /greet, /fuckme, /cheer, /cpr, /kiss, /gift, /stand.");
- SendClientMessage(playerid, COLOR_GRAD2, "/fallover, /taichi, /walk, /slapass, /laugh, /bj, /piss, /stop, /crack, /exhausted, /signal, /followme.");
- SendClientMessage(playerid, COLOR_GRAD2, "/gesture, /panic, /strip, /wave, /smoke, /washhands, /salute, /crossarms, /sitdown, /relax, /sit, /dive.");
- SendClientMessage(playerid, COLOR_GRAD3, "/deal, /bitchslap, /reload, /checktime, /siteat, /eatfood, /chat, /drinkwater, /bat, /opendoor, /carry.");
- SendClientMessage(playerid, COLOR_GRAD3, "/wavedown, /box, /tag, /goggles, /throw, /robbed, /bar, /idle, /carchat, /slapass, /sunbathe, /snatch.");
- SendClientMessage(playerid, COLOR_GRAD4, "/sneak, /copa, /swata, /holdcue, /sitonchair, /trunkput, /lowbarge, /airkick /elbow, /runcuffed.");
- SendClientMessage(playerid, COLOR_GRAD4, "/cellin, /cellout, /celebrate, /responses, /bed, /face, /camera, /gym.");
- SendClientMessage(playerid, COLOR_ERROR, "Use /(s)top(a)nim to stop the animation.");
- SendClientMessage(playerid, COLOR_GREEN, "______________________________________________________________________________");
- return 1;
- }
- CMD:sa(playerid, params[])
- {
- return cmd_stopanim(playerid, params);
- }
- CMD:stopanim(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use this command at this moment.");
- }
- ClearAnimations(playerid, 1);
- SetPlayerSpecialAction(playerid, 0);
- ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.1, 0, 0, 0, 0, 0, 1);
- SendClientMessage(playerid, COLOR_ERROR, "Animations cleared.");
- return 1;
- }
- CMD:trunkput(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "GANGS", "shake_cara", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:lowbarge(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "GANGS", "shake_carSH", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:piss(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- SetPlayerSpecialAction(playerid, 68);
- return 1;
- }
- CMD:cellin(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- SetPlayerSpecialAction(playerid, 11);
- return 1;
- }
- CMD:cellout(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- SetPlayerSpecialAction(playerid, 13);
- return 1;
- }
- CMD:carry(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "CARRY", "crry_prtial", 4.1, 0, 0, 0, 1, 1, 0);
- case 2: ApplyAnimationEx(playerid, "CARRY", "liftup", 4.1, 0, 1, 1, 1, 0, 0);
- case 3: ApplyAnimationEx(playerid, "CARRY", "liftup05", 4.1, 0, 1, 1, 1, 0, 0);
- case 4: ApplyAnimationEx(playerid, "CARRY", "liftup105", 4.1, 0, 1, 1, 1, 0, 0);
- case 5: ApplyAnimationEx(playerid, "CARRY", "putdwn", 4.1, 0, 1, 1, 1, 0, 0);
- case 6: ApplyAnimationEx(playerid, "CARRY", "putdwn05", 4.1, 0, 1, 1, 1, 0, 0);
- case 7: ApplyAnimationEx(playerid, "CARRY", "putdwn105", 4.1, 0, 1, 1, 1, 0, 0);
- case 8: SetPlayerSpecialAction(playerid, 25);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /carry [1-8]");
- }
- return 1;
- }
- CMD:camera(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "CAMERA", "camcrch_cmon", 4.1, 0, 1, 1, 1, 0, 0);
- case 2: ApplyAnimationEx(playerid, "CAMERA", "camcrch_idleloop", 4.1, 0, 1, 1, 1, 0, 0);
- case 3: ApplyAnimationEx(playerid, "CAMERA", "camcrch_to_camstnd", 4.1, 0, 1, 1, 1, 0, 0);
- case 4: ApplyAnimationEx(playerid, "CAMERA", "camstnd_cmon", 4.1, 0, 1, 1, 1, 0, 0);
- case 5: ApplyAnimationEx(playerid, "CAMERA", "camstnd_idleloop", 4.1, 0, 1, 1, 1, 0, 0);
- case 6: ApplyAnimationEx(playerid, "CAMERA", "camstnd_lkabt", 4.1, 0, 1, 1, 1, 0, 0);
- case 7: ApplyAnimationEx(playerid, "CAMERA", "camstnd_to_camrcrch", 4.1, 0, 1, 1, 1, 0, 0);
- case 8: ApplyAnimationEx(playerid, "CAMERA", "piccrch_in", 4.1, 0, 1, 1, 1, 0, 0);
- case 9: ApplyAnimationEx(playerid, "CAMERA", "piccrch_take", 4.1, 0, 1, 1, 1, 0, 0);
- case 10: ApplyAnimationEx(playerid, "CAMERA", "picstnd_in", 4.1, 0, 1, 1, 1, 0, 0);
- case 11: ApplyAnimationEx(playerid, "CAMERA", "picstnd_out", 4.1, 0, 1, 1, 1, 0, 0);
- case 12: ApplyAnimationEx(playerid, "CAMERA", "picstnd_take", 4.1, 0, 1, 1, 1, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /camera [1-12]");
- }
- return 1;
- }
- CMD:throw(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "GRENADE", "WEAPON_throw", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:robbed(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "SHOP", "SHP_Rob_GiveCash", 4.1, 1, 0, 0, 0, 0);
- return 1;
- }
- CMD:sneak(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "PED", "Player_Sneak", 4.1, 1, 1, 1, 1, 1);
- return 1;
- }
- CMD:runcuffed(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "SWORD", "sword_block", 4.1, 0, 1, 1, 1, 1);
- return 1;
- }
- CMD:airkick(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "FIGHT_C", "FightC_M", 4.1, 0, 1, 1, 0, 0);
- return 1;
- }
- CMD:elbow(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "FIGHT_D", "FightD_3", 4.1, 0, 1, 1, 0, 0);
- return 1;
- }
- CMD:taichi(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "PARK", "Tai_Chi_Loop", 4.1, 1, 0, 0, 0, 0);
- return 1;
- }
- CMD:fucku(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "PED", "fucku", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:crack(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "CRACK", "crckdeth1", 4.1, 0, 0, 0, 1, 0);
- case 2: ApplyAnimationEx(playerid, "CRACK", "crckdeth2", 4.1, 1, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "CRACK", "crckdeth3", 4.1, 0, 0, 0, 1, 0);
- case 4: ApplyAnimationEx(playerid, "CRACK", "crckdeth4", 4.1, 0, 0, 0, 1, 0);
- case 5: ApplyAnimationEx(playerid, "CRACK", "crckidle1", 4.1, 0, 1, 1, 1, 0, 0);
- case 6: ApplyAnimationEx(playerid, "CRACK", "crckidle2", 4.1, 0, 1, 1, 1, 0, 0);
- case 7: ApplyAnimationEx(playerid, "CRACK", "crckidle3", 4.1, 0, 1, 1, 1, 0, 0);
- case 8: ApplyAnimationEx(playerid, "CRACK", "crckidle4", 4.1, 0, 1, 1, 1, 0, 0);
- case 9: ApplyAnimationEx(playerid, "SWAT", "gnstwall_injurd", 4.1, 0, 1, 1, 1, 0, 0);
- case 10: ApplyAnimationEx(playerid, "SWEET", "Sweet_injuredloop", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /crack [1-10]");
- }
- return 1;
- }
- CMD:vomit(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:panic(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "PED", "cower", 4.1, 1, 1, 1, 1, 0, 0);
- case 2: ApplyAnimationEx(playerid, "PED", "DUCK_cower", 4.1, 0, 1, 1, 1, 0, 0);
- case 3: ApplyAnimationEx(playerid, "ON_LOOKERS", "panic_cower", 4.1, 0, 1, 1, 1, 0, 0);
- case 4: ApplyAnimationEx(playerid, "ON_LOOKERS", "panic_hide", 4.1, 0, 1, 1, 1, 0, 0);
- case 5: ApplyAnimationEx(playerid, "ON_LOOKERS", "panic_loop", 4.1, 1, 1, 1, 1, 0, 0);
- case 6: ApplyAnimationEx(playerid, "ON_LOOKERS", "panic_point", 4.1, 1, 1, 1, 1, 0, 0);
- case 7: ApplyAnimationEx(playerid, "ON_LOOKERS", "panic_shout", 4.1, 1, 1, 1, 1, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /scared [1-7]");
- }
- return 1;
- }
- CMD:putmask(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "SHOP", "ROB_Shifty", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:laugh(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "RAPPING", "Laugh_01", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:aim(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "ped", "ARRESTgun", 4.1, 0, 1, 1, 1, 0);
- case 2: ApplyAnimationEx(playerid, "SHOP", "ROB_Loop_Threat", 4.1, 0, 1, 1, 1, 0, 0);
- case 3: ApplyAnimationEx(playerid, "SHOP", "SHP_Gun_Aim", 4.1, 0, 1, 1, 1, 0, 0);
- case 4: ApplyAnimationEx(playerid, "SHOP", "SHP_Gun_Threat", 4.1, 0, 1, 1, 1, 0, 0);
- case 5: ApplyAnimationEx(playerid, "PED", "Driveby_L", 4.1, 0, 1, 1, 1, 0, 0);
- case 6: ApplyAnimationEx(playerid, "PED", "Driveby_R", 4.1, 0, 1, 1, 1, 0, 0);
- case 7: ApplyAnimationEx(playerid, "PED", "gang_gunstand", 4.1, 1, 1, 1, 1, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /aim [1-7]");
- }
- return 1;
- }
- CMD:bed(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "INT_HOUSE", "BED_In_L", 4.1, 0, 1, 1, 1, 1);
- case 2: ApplyAnimationEx(playerid, "INT_HOUSE", "BED_In_R", 4.1, 0, 1, 1, 1, 1);
- case 3: ApplyAnimationEx(playerid, "INT_HOUSE", "BED_Loop_L", 4.0, 1, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "INT_HOUSE", "BED_Loop_R", 4.0, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /bed [1-4]");
- }
- return 1;
- }
- CMD:bomb(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant", 4.1, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant_2Idle", 4.1, 0, 1, 1, 0, 0);
- case 3: ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant_In", 4.1, 0, 1, 1, 1, 0);
- case 4: ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant_Loop", 4.1, 1, 0, 0, 1, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /bomb [1-4]");
- }
- return 1;
- }
- CMD:drunk(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "PED", "WALK_DRUNK", 4.1, 1, 1, 1, 1, 1);
- return 1;
- }
- CMD:slapass(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "SWEET", "sweet_ass_slap", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:gift(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "KISSING", "gift_give", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:cpr(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "MEDIC", "CPR", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:bitchslap(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "MISC", "bitchslap", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:hitch(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "MISC", "Hiker_Pose", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "MISC", "Hiker_Pose_L", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /hitch [1-2]");
- }
- return 1;
- }
- CMD:stand(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "PED", "car_hookertalk", 4.1, 0, 0, 0, 1, 0, 0);
- case 2: ApplyAnimationEx(playerid, "PED", "IDLE_HBHB", 4.1, 0, 0, 0, 1, 0, 0);
- case 3: ApplyAnimationEx(playerid, "DEALER", "DEALER_IDLE_02", 4.1, 0, 0, 0, 1, 0, 0);
- case 4: ApplyAnimationEx(playerid, "DEALER", "DEALER_IDLE_03", 4.1, 0, 0, 0, 1, 0, 0);
- case 5: ApplyAnimationEx(playerid, "GANGS", "DEALER_IDLE", 4.1, 0, 0, 0, 1, 0, 0);
- case 6: ApplyAnimationEx(playerid, "FAT", "FatIdle", 4.1, 0, 0, 0, 1, 0, 0);
- case 7: ApplyAnimationEx(playerid, "PED", "Idlestance_fat", 4.1, 0, 0, 0, 1, 0, 0);
- case 8: ApplyAnimationEx(playerid, "PED", "idlestance_old", 4.1, 0, 0, 0, 1, 0, 0);
- case 9: ApplyAnimationEx(playerid, "PED", "IDLE_armed", 4.1, 0, 0, 0, 1, 0, 0);
- case 10: ApplyAnimationEx(playerid, "BD_FIRE", "BD_Panic_Loop", 4.1, 0, 0, 0, 1, 0, 0);
- case 11: ApplyAnimation(playerid, "OTB", "wtchrace_loop", 4.1, 1, 1, 1, 1, 0, 0);
- case 12: ApplyAnimationEx(playerid, "WUZI", "Wuzi_stand_loop", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /stand [1-12]");
- }
- return 1;
- }
- CMD:celebrate(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "benchpress", "gym_bp_celebrate", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_celebrate", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /celebrate [1-2]");
- }
- return 1;
- }
- CMD:gym(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "Freeweights", "gym_barbell", 4.1, 1, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "Freeweights", "gym_free_A", 4.1, 0, 0, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "Freeweights", "gym_free_B", 4.1, 0, 0, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "Freeweights", "gym_free_celebrate", 4.1, 0, 0, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "Freeweights", "gym_free_down", 4.1, 0, 0, 0, 0, 0, 0);
- case 6: ApplyAnimationEx(playerid, "Freeweights", "gym_free_loop", 4.1, 1, 0, 0, 0, 0, 0);
- case 7: ApplyAnimationEx(playerid, "Freeweights", "gym_free_pickup", 4.1, 0, 0, 0, 0, 0, 0);
- case 8: ApplyAnimationEx(playerid, "Freeweights", "gym_free_putdown", 4.1, 0, 0, 0, 0, 0, 0);
- case 9: ApplyAnimationEx(playerid, "Freeweights", "gym_free_up_smooth", 4.1, 0, 0, 0, 0, 0, 0);
- case 10: ApplyAnimationEx(playerid, "benchpress", "gym_bp_celebrate", 4.1, 0, 0, 0, 0, 0, 0);
- case 11: ApplyAnimationEx(playerid, "benchpress", "gym_bp_down", 4.1, 1, 0, 0, 0, 0, 0);
- case 12: ApplyAnimationEx(playerid, "benchpress", "gym_bp_getoff", 4.1, 0, 0, 0, 0, 0, 0);
- case 13: ApplyAnimationEx(playerid, "benchpress", "gym_bp_geton", 4.1, 0, 0, 0, 0, 0, 0);
- case 14: ApplyAnimationEx(playerid, "benchpress", "gym_bp_up_A", 4.1, 1, 0, 0, 0, 0, 0);
- case 15: ApplyAnimationEx(playerid, "benchpress", "gym_bp_up_B", 4.1, 1, 0, 0, 0, 0, 0);
- case 16: ApplyAnimationEx(playerid, "benchpress", "gym_bp_up_smooth", 4.1, 1, 0, 0, 0, 0, 0);
- case 17: ApplyAnimationEx(playerid, "PED", "XPRESSscratch", 4.1, 1, 0, 0, 0, 0, 0);
- case 18: ApplyAnimationEx(playerid, "PLAYIDLES", "stretch", 4.1, 1, 0, 0, 0, 0, 0);
- case 19: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_bike_faster", 4.1, 1, 0, 0, 0, 0, 0);
- case 20: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_bike_pedal", 4.1, 1, 0, 0, 0, 0, 0);
- case 21: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_celebrate", 4.1, 0, 0, 0, 0, 0, 0);
- case 22: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_falloff", 4.1, 0, 0, 0, 0, 0, 0);
- case 23: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_getoff", 4.1, 0, 0, 0, 0, 0, 0);
- case 24: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_geton", 4.1, 0, 0, 0, 0, 0, 0);
- case 25: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_jog", 4.1, 0, 0, 0, 0, 0, 0);
- case 26: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_sprint", 4.1, 0, 0, 0, 0, 0, 0);
- case 27: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_tired", 4.1, 0, 0, 0, 0, 0, 0);
- case 28: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_walk", 4.1, 0, 0, 0, 0, 0, 0);
- case 29: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_walk_falloff", 4.1, 0, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /gym [1-29]");
- }
- return 1;
- }
- CMD:greet(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "WUZI", "Wuzi_Greet_Wuzi", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:followme(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "WUZI", "Wuzi_follow", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:what(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "RIOT", "RIOT_ANGRY", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:cry(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "GRAVEYARD", "mrnF_loop", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "GRAVEYARD", "mrnM_loop", 4.1, 1, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "GRAVEYARD", "prst_loopa", 4.1, 0, 1, 1, 1, 0, 0);
- }
- return 1;
- }
- CMD:washhands(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "BD_FIRE", "wash_up", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:stop(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "PED", "endchat_01", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:salute(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "ON_LOOKERS", "Pointup_loop", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:scratchballs(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "MISC", "Scratchballs_01", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:showoff(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "Freeweights", "gym_free_celebrate", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:dive(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "DODGE", "Crush_Jump", 4.1, 0, 1, 1, 1, 0);
- return 1;
- }
- CMD:relax(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "CRACK", "crckidle1", 4.1, 0, 1, 1, 1, -1);
- return 1;
- }
- CMD:checktime(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_watch", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:eatfood(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 4.1, 1, 0, 0, 0, 0);
- return 1;
- }
- CMD:drinkwater(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "BAR", "dnk_stndF_loop", 4.1, 1, 0, 0, 0, 0);
- return 1;
- }
- CMD:opendoor(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "AIRPORT", "thrw_barl_thrw", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:box(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "GYMNASIUM", "GYMshadowbox", 4.1, 1, 0, 0, 0, 0);
- return 1;
- }
- CMD:wavedown(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "BD_FIRE", "BD_Panic_01", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:goggles(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- ApplyAnimationEx(playerid, "goggles", "goggles_put_on", 4.1, 0, 0, 0, 0, 0);
- return 1;
- }
- CMD:snatch(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "PED", "BIKE_elbowL", 4.1, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "PED", "BIKE_elbowR", 4.1, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /snatch [1-2]");
- }
- return 1;
- }
- CMD:copa(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Away", 4.1, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Come", 4.1, 0, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Left", 4.1, 0, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Stop", 4.1, 0, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "POLICE", "Cop_move_FWD", 4.1, 1, 1, 1, 1, 1);
- case 6: ApplyAnimationEx(playerid, "POLICE", "crm_drgbst_01", 4.1, 0, 0, 0, 1, 5000);
- case 7: ApplyAnimationEx(playerid, "POLICE", "Door_Kick", 4.1, 0, 1, 1, 0, 1);
- case 8: ApplyAnimationEx(playerid, "POLICE", "plc_drgbst_01", 4.1, 0, 0, 0, 0, 5000);
- case 9: ApplyAnimationEx(playerid, "POLICE", "plc_drgbst_02", 4.1, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /copa [1-9]");
- }
- return 1;
- }
- CMD:swata(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "SWAT", "JMP_Wall1m_180", 4.1, 0, 1, 1, 1, 0);
- case 2: ApplyAnimationEx(playerid, "SWAT", "Rail_fall", 4.1, 0, 1, 1, 1, 0);
- case 3: ApplyAnimationEx(playerid, "SWAT", "Rail_fall_crawl", 4.1, 0, 1, 1, 1, 0);
- case 4: ApplyAnimationEx(playerid, "SWAT", "swt_breach_01", 4.1, 0, 1, 1, 1, 0);
- case 5: ApplyAnimationEx(playerid, "SWAT", "swt_breach_02", 4.1, 0, 1, 1, 1, 0);
- case 6: ApplyAnimationEx(playerid, "SWAT", "swt_breach_03", 4.1, 0, 1, 1, 1, 0);
- case 7: ApplyAnimationEx(playerid, "SWAT", "swt_go", 4.1, 0, 0, 0, 0, 0);
- case 8: ApplyAnimationEx(playerid, "SWAT", "swt_lkt", 4.1, 0, 0, 0, 0, 0);
- case 9: ApplyAnimationEx(playerid, "SWAT", "swt_sty", 4.1, 0, 0, 0, 0, 0);
- case 10: ApplyAnimationEx(playerid, "SWAT", "swt_vent_01", 4.1, 0, 1, 1, 0, 0);
- case 11: ApplyAnimationEx(playerid, "SWAT", "swt_vent_02", 4.1, 0, 1, 1, 0, 0);
- case 12: ApplyAnimationEx(playerid, "SWAT", "swt_vnt_sht_in", 4.1, 0, 1, 1, 1, 0);
- case 13: ApplyAnimationEx(playerid, "SWAT", "swt_wllpk_L", 4.1, 0, 1, 1, 1, 0);
- case 14: ApplyAnimationEx(playerid, "SWAT", "swt_wllpk_R", 4.1, 0, 1, 1, 1, 0);
- case 15: ApplyAnimationEx(playerid, "SWAT", "swt_wllshoot_in_L", 4.1, 0, 1, 1, 1, 0);
- case 16: ApplyAnimationEx(playerid, "SWAT", "swt_wllshoot_in_R", 4.1, 0, 1, 1, 1, 0);
- case 17: ApplyAnimationEx(playerid, "SWAT", "swt_wllshoot_out_L", 4.1, 0, 1, 1, 0, 0);
- case 18: ApplyAnimationEx(playerid, "SWAT", "swt_wllshoot_out_R", 4.1, 0, 1, 1, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /swata [1-18]");
- }
- return 1;
- }
- CMD:strip(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "STRIP", "strip_E", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "STRIP", "strip_G", 4.1, 1, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "STRIP", "STR_A2B", 4.1, 1, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "STRIP", "STR_Loop_A", 4.1, 1, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "STRIP", "STR_Loop_B", 4.1, 1, 0, 0, 0, 0);
- case 6: ApplyAnimationEx(playerid, "STRIP", "STR_Loop_C", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /strip [1-6]");
- }
- return 1;
- }
- CMD:holdcue(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "POOL", "POOL_ChalkCue", 4.1, 0, 1, 1, 1, 1);
- case 2: ApplyAnimationEx(playerid, "POOL", "POOL_Idle_Stance", 4.1, 0, 1, 1, 1, 1);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /holdcue [1-2]");
- }
- return 1;
- }
- CMD:idle(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "PLAYIDLES", "shift", 4.1, 1, 1, 1, 1, 0);
- case 2: ApplyAnimationEx(playerid, "PLAYIDLES", "shldr", 4.1, 1, 1, 1, 1, 1);
- case 3: ApplyAnimationEx(playerid, "PLAYIDLES", "stretch", 4.1, 1, 1, 1, 1, 1);
- case 4: ApplyAnimationEx(playerid, "PLAYIDLES", "strleg", 4.1, 1, 1, 1, 1, 1);
- case 5: ApplyAnimationEx(playerid, "PLAYIDLES", "time", 4.1, 1, 1, 1, 1, 1);
- case 6: ApplyAnimationEx(playerid, "COP_AMBIENT", "Copbrowse_loop", 4.1, 1, 0, 0, 0, 0);
- case 7: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_loop", 4.1, 1, 0, 0, 0, 0);
- case 8: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_shake", 4.1, 1, 0, 0, 0, 0);
- case 9: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_think", 4.1, 1, 0, 0, 0, 0);
- case 10: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_watch", 4.1, 1, 0, 0, 0, 0);
- case 11: ApplyAnimationEx(playerid, "PED", "roadcross", 4.1, 1, 0, 0, 0, 0);
- case 12: ApplyAnimationEx(playerid, "PED", "roadcross_female", 4.1, 1, 0, 0, 0, 0);
- case 13: ApplyAnimationEx(playerid, "PED", "roadcross_gang", 4.1, 1, 0, 0, 0, 0);
- case 14: ApplyAnimationEx(playerid, "PED", "roadcross_old", 4.1, 1, 0, 0, 0, 0);
- case 15: ApplyAnimationEx(playerid, "PED", "woman_idlestance", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /idle [1-15]");
- }
- return 1;
- }
- CMD:face(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "PED", "facanger", 4.1, 0, 0, 0, 1, 1, 0);
- case 2: ApplyAnimationEx(playerid, "PED", "facanger", 4.1, 0, 0, 0, 1, 1, 0);
- case 3: ApplyAnimationEx(playerid, "PED", "facgum", 4.1, 1, 0, 0, 1, 1, 0);
- case 4: ApplyAnimationEx(playerid, "PED", "facsurp", 4.1, 0, 0, 0, 1, 1, 0);
- case 5: ApplyAnimationEx(playerid, "PED", "facsurpm", 4.1, 0, 0, 0, 1, 1, 0);
- case 6: ApplyAnimationEx(playerid, "PED", "factalk", 4.1, 1, 0, 0, 1, 1, 0);
- case 7: ApplyAnimationEx(playerid, "PED", "facurios", 4.1, 0, 0, 0, 1, 1, 0);
- case 8: ApplyAnimationEx(playerid, "PED", "Idle_Gang1", 4.1, 0, 0, 0, 1, 1, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /face [1-8]");
- }
- return 1;
- }
- CMD:bar(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "BAR", "Barcustom_get", 4.1, 0, 1, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "BAR", "Barserve_bottle", 4.1, 0, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "BAR", "Barserve_give", 4.1, 0, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "BAR", "dnk_stndM_loop", 4.1, 0, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "BAR", "BARman_idle", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /bar [1-5]");
- }
- return 1;
- }
- CMD:tag(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "GRAFFITI", "graffiti_Chkout", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "GRAFFITI", "spraycan_fire", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /tag [1-2]");
- }
- return 1;
- }
- CMD:bat(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "BASEBALL", "Bat_IDLE", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "BASEBALL", "Bat_M", 4.1, 1, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "BASEBALL", "BAT_PART", 4.1, 1, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "CRACK", "Bbalbat_Idle_01", 4.1, 1, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "CRACK", "Bbalbat_Idle_02", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /bat [1-5]");
- }
- return 1;
- }
- CMD:smoke(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "SMOKING", "M_smk_in", 4.1, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "SMOKING", "M_smklean_loop", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /smoke [1-2]");
- }
- return 1;
- }
- CMD:gesture(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "GHANDS", "gsign1", 4.1, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "GHANDS", "gsign1LH", 4.1, 0, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "GHANDS", "gsign2", 4.1, 0, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "GHANDS", "gsign2LH", 4.1, 0, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "GHANDS", "gsign3", 4.1, 0, 0, 0, 0, 0);
- case 6: ApplyAnimationEx(playerid, "GHANDS", "gsign3LH", 4.1, 0, 0, 0, 0, 0);
- case 7: ApplyAnimationEx(playerid, "GHANDS", "gsign4", 4.1, 0, 0, 0, 0, 0);
- case 8: ApplyAnimationEx(playerid, "GHANDS", "gsign4LH", 4.1, 0, 0, 0, 0, 0);
- case 9: ApplyAnimationEx(playerid, "GHANDS", "gsign5", 4.1, 0, 0, 0, 0, 0);
- case 10: ApplyAnimationEx(playerid, "GHANDS", "gsign5", 4.1, 0, 0, 0, 0, 0);
- case 11: ApplyAnimationEx(playerid, "GHANDS", "gsign5LH", 4.1, 0, 0, 0, 0, 0);
- case 12: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkD", 4.1, 0, 0, 0, 0, 0);
- case 13: ApplyAnimationEx(playerid, "GANGS", "smkcig_prtl", 4.1, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /gesture [1-13]");
- }
- return 1;
- }
- CMD:responses(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "GANGS", "Invite_Yes", 4.1, 0, 1, 1, 1, 1);
- case 2: ApplyAnimationEx(playerid, "GANGS", "Invite_No", 4.1, 0, 1, 1, 1, 1);
- case 3: ApplyAnimationEx(playerid, "FOOD", "SHP_Thank", 4.1, 1, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_nod", 4.1, 0, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "PED", "endchat_01", 4.0999, 0, 1, 1, 1, 0, 0);
- case 6: ApplyAnimationEx(playerid, "PED", "endchat_02", 4.0999, 0, 1, 1, 1, 0, 0);
- case 7: ApplyAnimationEx(playerid, "MISC", "plyr_shkhead", 4.0999, 0, 1, 1, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /responses [1-7]");
- }
- return 1;
- }
- CMD:chat(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "PED", "IDLE_CHAT", 4.1, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkA", 4.1, 0, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkB", 4.1, 0, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkE", 4.1, 0, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkF", 4.1, 0, 0, 0, 0, 0);
- case 6: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkG", 4.1, 0, 0, 0, 0, 0);
- case 7: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkH", 4.1, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /chat [1-7]");
- }
- return 1;
- }
- CMD:deal(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "DEALER", "DEALER_DEAL", 4.1, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "DEALER", "shop_pay", 4.1, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /deal [1-2]");
- }
- return 1;
- }
- CMD:cheer(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "ON_LOOKERS", "shout_01", 4.1, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "ON_LOOKERS", "shout_02", 4.1, 0, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "ON_LOOKERS", "shout_in", 4.1, 0, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "RIOT", "RIOT_ANGRY_B", 4.1, 1, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "RIOT", "RIOT_CHANT", 4.1, 0, 0, 0, 0, 0);
- case 6: ApplyAnimationEx(playerid, "RIOT", "RIOT_shout", 4.1, 0, 0, 0, 0, 0);
- case 7: ApplyAnimationEx(playerid, "STRIP", "PUN_HOLLER", 4.1, 0, 0, 0, 0, 0);
- case 8: ApplyAnimationEx(playerid, "OTB", "wtchrace_win", 4.1, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /cheer [1-8]");
- }
- return 1;
- }
- CMD:wave(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "ON_LOOKERS", "wave_loop", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "KISSING", "gfwave2", 4.1, 0, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "PED", "endchat_03", 4.1, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /wave [1-3]");
- }
- return 1;
- }
- CMD:fallover(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "KNIFE", "KILL_Knife_Ped_Die", 4.1, 0, 1, 1, 1, 0);
- case 2: ApplyAnimationEx(playerid, "PED", "KO_shot_face", 4.1, 0, 1, 1, 1, 0, 0);
- case 3: ApplyAnimationEx(playerid, "PED", "KO_shot_front", 4.1, 0, 1, 1, 1, 0, 0);
- case 4: ApplyAnimationEx(playerid, "PED", "KO_shot_stom", 4.1, 0, 1, 1, 1, 0, 0);
- case 5: ApplyAnimationEx(playerid, "PED", "KO_skid_back", 4.1, 0, 1, 1, 1, 0, 0);
- case 6: ApplyAnimationEx(playerid, "PED", "KO_skid_front", 4.1, 1, 1, 1, 1, 0, 0);
- case 7: ApplyAnimationEx(playerid, "PED", "BIKE_fallR", 4.1, 0, 1, 1, 0, 0);
- case 8: ApplyAnimationEx(playerid, "PED", "FLOOR_hit_f", 4.1, 0, 1, 1, 1, 0, 1);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /fallover [1-8]");
- }
- return 1;
- }
- CMD:lean(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "GANGS", "leanIDLE", 4.1, 0, 0, 0, 1, 0);
- case 2: ApplyAnimationEx(playerid, "MISC", "Plyrlean_loop", 4.1, 0, 0, 0, 1, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /lean [1-2]");
- }
- return 1;
- }
- CMD:signal(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Away", 4.1, 0, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Come", 4.1, 0, 0, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Left", 4.1, 0, 0, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Stop", 4.1, 0, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /signal [1-4]");
- }
- return 1;
- }
- CMD:dj(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "SCRATCHING", "scdldlp", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "SCRATCHING", "scdlulp", 4.1, 1, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "SCRATCHING", "scdrdlp", 4.1, 1, 0, 0, 0, 0);
- case 4:ApplyAnimationEx(playerid, "SCRATCHING", "scdrulp", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /dj [1-4]");
- }
- return 1;
- }
- CMD:carchat(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimation(playerid, "CAR_CHAT", "carfone_in", 4.1, 0, 1, 1, 1, 1);
- case 2: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopA", 4.1, 0, 1, 1, 1, 1);
- case 3: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopA_to_B", 4.1, 0, 1, 1, 1, 1);
- case 4: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopB", 4.1, 0, 1, 1, 1, 1);
- case 5: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopB_to_A", 4.1, 0, 1, 1, 1, 1);
- case 6: ApplyAnimation(playerid, "CAR_CHAT", "carfone_out", 4.1, 0, 1, 1, 1, 1);
- case 7: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_BL", 4.1, 0, 1, 1, 1, 1);
- case 8: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_BR", 4.1, 0, 1, 1, 1, 1);
- case 9: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_FL", 4.1, 0, 1, 1, 1, 1);
- case 10: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_FR", 4.1, 0, 1, 1, 1, 1);
- case 11: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc2_FL", 4.1, 0, 1, 1, 1, 1);
- case 12: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc3_BR", 4.1, 0, 1, 1, 1, 1);
- case 13: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc3_FL", 4.1, 0, 1, 1, 1, 1);
- case 14: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc3_FR", 4.1, 0, 1, 1, 1, 1);
- case 15: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_BL", 4.1, 0, 1, 1, 1, 1);
- case 16: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_BR", 4.1, 0, 1, 1, 1, 1);
- case 17: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_FL", 4.1, 0, 1, 1, 1, 1);
- case 18: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_FR", 4.1, 0, 1, 1, 1, 1);
- case 19: ApplyAnimation(playerid, "CAR", "Sit_relaxed", 4.1, 0, 1, 1, 1, 1);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /carchat [1-19]");
- }
- return 1;
- }
- CMD:sunbathe(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "SUNBATHE", "batherdown", 4.1, 0, 1, 1, 1, 1);
- case 2: ApplyAnimationEx(playerid, "SUNBATHE", "batherup", 4.1, 0, 1, 1, 1, 1);
- case 3: ApplyAnimationEx(playerid, "SUNBATHE", "Lay_Bac_in", 4.1, 0, 1, 1, 1, 1);
- case 4: ApplyAnimationEx(playerid, "SUNBATHE", "Lay_Bac_out", 4.1, 0, 1, 1, 1, 1);
- case 5: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_M_IdleA", 4.1, 0, 1, 1, 1, 1);
- case 6: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_M_IdleB", 4.1, 0, 1, 1, 1, 1);
- case 7: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_M_IdleC", 4.1, 0, 1, 1, 1, 1);
- case 8: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_M_in", 4.1, 0, 1, 1, 1, 1);
- case 9: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_M_out", 4.1, 0, 1, 1, 1, 1);
- case 10: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_W_idleA", 4.1, 0, 1, 1, 1, 1);
- case 11: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_W_idleB", 4.1, 0, 1, 1, 1, 1);
- case 12: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_W_idleC", 4.1, 0, 1, 1, 1, 1);
- case 13: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_W_in", 4.1, 0, 1, 1, 1, 1);
- case 14: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_W_out", 4.1, 0, 1, 1, 1, 1);
- case 15: ApplyAnimationEx(playerid, "SUNBATHE", "SBATHE_F_LieB2Sit", 4.1, 0, 1, 1, 1, 1);
- case 16: ApplyAnimationEx(playerid, "SUNBATHE", "SBATHE_F_Out", 4.1, 0, 1, 1, 1, 1);
- case 17: ApplyAnimationEx(playerid, "SUNBATHE", "SitnWait_in_W", 4.1, 0, 1, 1, 1, 1);
- case 18: ApplyAnimationEx(playerid, "SUNBATHE", "SitnWait_out_W", 4.1, 0, 1, 1, 1, 1);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /sunbathe [1-18]");
- }
- return 1;
- }
- CMD:handsup(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- SetPlayerSpecialAction(playerid, SPECIAL_ACTION_HANDSUP);
- return 1;
- }
- CMD:dance(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1..4: SetPlayerSpecialAction(playerid, (SPECIAL_ACTION_DANCE1 + (strval(params) - 1)));
- case 5: ApplyAnimationEx(playerid, "DANCING", "DAN_Down_A", 4.1, 1, 0, 0, 0, 0);
- case 6: ApplyAnimationEx(playerid, "DANCING", "DAN_Left_A", 4.1, 1, 0, 0, 0, 0);
- case 7: ApplyAnimationEx(playerid, "DANCING", "DAN_Loop_A", 4.1, 1, 0, 0, 0, 0);
- case 8: ApplyAnimationEx(playerid, "DANCING", "DAN_Right_A", 4.1, 1, 0, 0, 0, 0);
- case 9: ApplyAnimationEx(playerid, "DANCING", "DAN_Up_A", 4.1, 1, 0, 0, 0, 0);
- case 10: ApplyAnimationEx(playerid, "DANCING", "dnce_M_a", 4.1, 1, 0, 0, 0, 0);
- case 11: ApplyAnimationEx(playerid, "DANCING", "dnce_M_b", 4.1, 1, 0, 0, 0, 0);
- case 12: ApplyAnimationEx(playerid, "DANCING", "dnce_M_c", 4.1, 1, 0, 0, 0, 0);
- case 13: ApplyAnimationEx(playerid, "DANCING", "dnce_M_d", 4.1, 1, 0, 0, 0, 0);
- case 14: ApplyAnimationEx(playerid, "DANCING", "dnce_M_e", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /dance [1-14]");
- }
- return 1;
- }
- CMD:crossarms(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_loop", 4.1, 0, 1, 1, 1, -1);
- case 2: ApplyAnimationEx(playerid, "DEALER", "DEALER_IDLE", 4.1, 0, 1, 1, 1, -1);
- case 3: ApplyAnimationEx(playerid, "DEALER", "DEALER_IDLE_01", 4.1, 0, 1, 1, 1, -1);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /crossarms [1-3]");
- }
- return 1;
- }
- CMD:getjiggy(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "DANCING", "DAN_Down_A", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "DANCING", "DAN_Left_A", 4.1, 1, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "DANCING", "DAN_Loop_A", 4.1, 1, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "DANCING", "DAN_Right_A", 4.1, 1, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "DANCING", "DAN_Up_A", 4.1, 1, 0, 0, 0, 0);
- case 6: ApplyAnimationEx(playerid, "DANCING", "dnce_M_a", 4.1, 1, 0, 0, 0, 0);
- case 7: ApplyAnimationEx(playerid, "DANCING", "dnce_M_b", 4.1, 1, 0, 0, 0, 0);
- case 8: ApplyAnimationEx(playerid, "DANCING", "dnce_M_c", 4.1, 1, 0, 0, 0, 0);
- case 9: ApplyAnimationEx(playerid, "DANCING", "dnce_M_c", 4.1, 1, 0, 0, 0, 0);
- case 10: ApplyAnimationEx(playerid, "DANCING", "dnce_M_d", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /getjiggy [1-10]");
- }
- return 1;
- }
- CMD:siteat(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "FOOD", "FF_Sit_Eat3", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "FOOD", "FF_Sit_Eat2", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /siteat [1-2]");
- }
- return 1;
- }
- CMD:exhausted(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "PED", "IDLE_tired", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "FAT", "IDLE_tired", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /exhausted [1-2]");
- }
- return 1;
- }
- CMD:sit(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "BEACH", "bather", 4.1, 1, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "BEACH", "Lay_Bac_Loop", 4.1, 1, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "BEACH", "ParkSit_W_loop", 4.1, 1, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "BEACH", "SitnWait_loop_W", 4.1, 1, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "BEACH", "ParkSit_M_loop", 4.1, 1, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /sit [1-5]");
- }
- return 1;
- }
- CMD:sitonchair(playerid, params[])
- return cmd_sitdown(playerid, params);
- CMD:sitdown(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "Attractors", "Stepsit_in", 4.1, 0, 0, 0, 1, 0);
- case 2: ApplyAnimationEx(playerid, "CRIB", "PED_Console_Loop", 4.1, 1, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "INT_HOUSE", "LOU_In", 4.1, 0, 0, 0, 1, 0);
- case 4: ApplyAnimationEx(playerid, "MISC", "SEAT_LR", 4.1, 1, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "MISC", "Seat_talk_01", 4.1, 1, 0, 0, 0, 0);
- case 6: ApplyAnimationEx(playerid, "MISC", "Seat_talk_02", 4.1, 1, 0, 0, 0, 0);
- case 7: ApplyAnimationEx(playerid, "ped", "SEAT_down", 4.1, 0, 0, 0, 1, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /sitdown [1-7]");
- }
- return 1;
- }
- CMD:walk(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "PED", "JOG_femaleA", 4.1, 1, 1, 1, 1, 1);
- case 2: ApplyAnimationEx(playerid, "PED", "JOG_maleA", 4.1, 1, 1, 1, 1, 1);
- case 3: ApplyAnimationEx(playerid, "PED", "WOMAN_walkfatold", 4.1, 1, 1, 1, 1, 1);
- case 4: ApplyAnimationEx(playerid, "PED", "run_fat", 4.1, 1, 1, 1, 1, 1);
- case 5: ApplyAnimationEx(playerid, "PED", "run_fatold", 4.1, 1, 1, 1, 1, 1);
- case 6: ApplyAnimationEx(playerid, "PED", "run_old", 4.1, 1, 1, 1, 1, 1);
- case 7: ApplyAnimationEx(playerid, "PED", "Run_Wuzi", 4.1, 1, 1, 1, 1, 1);
- case 8: ApplyAnimationEx(playerid, "PED", "swat_run", 4.1, 1, 1, 1, 1, 1);
- case 9: ApplyAnimationEx(playerid, "PED", "WALK_fat", 4.1, 1, 1, 1, 1, 1);
- case 10: ApplyAnimationEx(playerid, "PED", "WALK_fatold", 4.1, 1, 1, 1, 1, 1);
- case 11: ApplyAnimationEx(playerid, "PED", "WALK_gang1", 4.1, 1, 1, 1, 1, 1);
- case 12: ApplyAnimationEx(playerid, "PED", "WALK_gang2", 4.1, 1, 1, 1, 1, 1);
- case 13: ApplyAnimationEx(playerid, "PED", "WALK_old", 4.1, 1, 1, 1, 1, 1);
- case 14: ApplyAnimationEx(playerid, "PED", "WALK_shuffle", 4.1, 1, 1, 1, 1, 1);
- case 15: ApplyAnimationEx(playerid, "PED", "woman_run", 4.1, 1, 1, 1, 1, 1);
- case 16: ApplyAnimationEx(playerid, "PED", "WOMAN_runbusy", 4.1, 1, 1, 1, 1, 1);
- case 17: ApplyAnimationEx(playerid, "PED", "WOMAN_runfatold", 4.1, 1, 1, 1, 1, 1);
- case 18: ApplyAnimationEx(playerid, "PED", "woman_runpanic", 4.1, 1, 1, 1, 1, 1);
- case 19: ApplyAnimationEx(playerid, "PED", "WOMAN_runsexy", 4.1, 1, 1, 1, 1, 1);
- case 20: ApplyAnimationEx(playerid, "PED", "WOMAN_walkbusy", 4.1, 1, 1, 1, 1, 1);
- case 21: ApplyAnimationEx(playerid, "PED", "WOMAN_walkfatold", 4.1, 1, 1, 1, 1, 1);
- case 22: ApplyAnimationEx(playerid, "PED", "WOMAN_walknorm", 4.1, 1, 1, 1, 1, 1);
- case 23: ApplyAnimationEx(playerid, "PED", "WOMAN_walkold", 4.1, 1, 1, 1, 1, 1);
- case 24: ApplyAnimationEx(playerid, "PED", "WOMAN_walkpro", 4.1, 1, 1, 1, 1, 1);
- case 25: ApplyAnimationEx(playerid, "PED", "WOMAN_walksexy", 4.1, 1, 1, 1, 1, 1);
- case 26: ApplyAnimationEx(playerid, "PED", "WOMAN_walkshop", 4.1, 1, 1, 1, 1, 1);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /walk [1-26]");
- }
- return 1;
- }
- CMD:rap(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "RAPPING", "RAP_A_Loop", 4.1, 1, 1, 1, 1, 0);
- case 2: ApplyAnimationEx(playerid, "RAPPING", "RAP_B_Loop", 4.1, 1, 1, 1, 1, 0);
- case 3: ApplyAnimationEx(playerid, "RAPPING", "RAP_C_Loop", 4.1, 1, 1, 1, 1, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /rap [1-3]");
- }
- return 1;
- }
- CMD:reload(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "COLT45", "colt45_reload", 4.1, 0, 0, 0, 0, 0);
- case 2: ApplyAnimationEx(playerid, "COLT45", "sawnoff_reload", 4.1, 0, 0, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "BUDDY", "buddy_reload", 4.1, 0, 0, 0, 0, 0);
- case 4: ApplyAnimationEx(playerid, "RIFLE", "RIFLE_load", 4.1, 0, 0, 0, 0, 0);
- case 5: ApplyAnimationEx(playerid, "PYTHON", "python_reload", 4.1, 0, 0, 0, 0, 0);
- case 6: ApplyAnimationEx(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /reload [1-6]");
- }
- return 1;
- }
- CMD:wank(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "PAULNMAC", "wank_in", 4.1, 0, 1, 1, 0, 0);
- case 2: ApplyAnimationEx(playerid, "PAULNMAC", "wank_loop", 4.1, 1, 1, 0, 0, 0);
- case 3: ApplyAnimationEx(playerid, "PAULNMAC", "wank_out", 4.1, 0, 0, 0, 0, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /wank [1-3]");
- }
- return 1;
- }
- CMD:fuckme(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "SNM", "SPANKING_IDLEW", 4.1, 0, 1, 1, 1, 0);
- case 2: ApplyAnimationEx(playerid, "SNM", "SPANKING_IDLEP", 4.1, 0, 1, 1, 1, 0);
- case 3: ApplyAnimationEx(playerid, "SNM", "SPANKINGW", 4.1, 0, 1, 1, 1, 0);
- case 4: ApplyAnimationEx(playerid, "SNM", "SPANKINGP", 4.1, 0, 1, 1, 1, 0);
- case 5: ApplyAnimationEx(playerid, "SNM", "SPANKEDW", 4.1, 0, 1, 1, 1, 0);
- case 6: ApplyAnimationEx(playerid, "SNM", "SPANKEDP", 4.1, 0, 1, 1, 1, 0);
- case 7: ApplyAnimationEx(playerid, "SNM", "SPANKING_ENDW", 4.1, 0, 1, 1, 1, 0);
- case 8: ApplyAnimationEx(playerid, "SNM", "SPANKING_ENDP", 4.1, 0, 1, 1, 1, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /fuckme [1-8]");
- }
- return 1;
- }
- CMD:bj(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_START_P", 4.1, 0, 1, 1, 1, 0);
- case 2: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_START_W", 4.1, 0, 1, 1, 1, 0);
- case 3: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_P", 4.1, 0, 1, 1, 1, 0);
- case 4: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_W", 4.1, 0, 1, 1, 1, 0);
- case 5: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_END_P", 4.1, 0, 1, 1, 1, 0);
- case 6: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_END_W", 4.1, 0, 1, 1, 1, 0);
- case 7: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_START_P", 4.1, 0, 1, 1, 1, 0);
- case 8: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_START_W", 4.1, 0, 1, 1, 1, 0);
- case 9: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_P", 4.1, 0, 1, 1, 1, 0);
- case 10: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_W", 4.1, 0, 1, 1, 1, 0);
- case 11: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_END_P", 4.1, 0, 1, 1, 1, 0);
- case 12: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_END_W", 4.1, 0, 1, 1, 1, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /bj [1-12]");
- }
- return 1;
- }
- CMD:kiss(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid,"KISSING","Grlfrd_Kiss_01",4.0,0,0,0,0,0);
- case 2: ApplyAnimationEx(playerid,"KISSING","Grlfrd_Kiss_02",4.0,0,0,0,0,0);
- case 3: ApplyAnimationEx(playerid,"KISSING","Grlfrd_Kiss_03",4.0,0,0,0,0,0);
- case 4: ApplyAnimationEx(playerid,"KISSING","Playa_Kiss_01",4.0,0,0,0,0,0);
- case 5: ApplyAnimationEx(playerid,"KISSING","Playa_Kiss_02",4.0,0,0,0,0,0);
- case 6: ApplyAnimationEx(playerid,"KISSING","Playa_Kiss_03",4.0,0,0,0,0,0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /kiss [1-6]");
- }
- return 1;
- }
- CMD:dodge(playerid, params[])
- {
- if(!PlayerUseAnims(playerid))
- {
- return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
- }
- switch(strval(params))
- {
- case 1: ApplyAnimationEx(playerid, "DODGE", "Crush_Jump", 4.1, 0, 1, 1, 1, 0);
- case 2: ApplyAnimationEx(playerid, "PED", "EV_dive", 4.1, 0, 1, 1, 1, 0);
- case 3: ApplyAnimationEx(playerid, "MISC", "Run_Dive", 4.1, 0, 1, 1, 1, 0);
- default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /dodge [1-3]");
- }
- return 1;
- }
|