Animations Script Help
#1

HTML Code:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

8.
#define FILTERSCRIPT

 9.


 10.
#include <a_samp>

 11.
#include <core>

 12.
#include <float>

 13.
#include <zcmd>

 14.


 15.
#undef MAX_PLAYERS

 16.
#define MAX_PLAYERS 1000

 17.


 18.
#include "../include/gl_common.inc"

 19.
#define COLOR_GRAD1 0xB4B5B7FF

 20.
#define COLOR_GRAD2 0xBFC0C2FF

 21.
#define COLOR_GRAD3 0xCBCCCEFF

 22.
#define COLOR_GRAD4 0xD8D8D8FF

 23.
#define COLOR_GRAD5 0xE3E3E3FF

 24.
#define COLOR_GRAD6 0xF0F0F0FF

 25.
#define COLOR_GREEN 0x33AA33AA

 26.
#define COLOR_RED 0xFF0000FF

 27.
#define COLOR_WHITE 0xFFFFFFAA

 28.


 29.
new gPlayerUsingLoopingAnim[MAX_PLAYERS];

 30.
new gPlayerAnimLibsPreloaded[MAX_PLAYERS];

 31.


 32.
new Text:txtAnimHelper;

 33.


 34.
//-------------------------------------------------

 35.


 36.
PlayAnim(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)

 37.
{

 38.
        ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);

 39.
}

 40.


 41.
PlayAnimEx(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)

 42.
{

 43.
        gPlayerUsingLoopingAnim[playerid] = 1;

 44.
        ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);

 45.
        TextDrawShowForPlayer(playerid,txtAnimHelper);

 46.
}

 47.


 48.
StopLoopingAnim(playerid)

 49.
{

 50.
        gPlayerUsingLoopingAnim[playerid] = 0;

 51.
    ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0, 1);

 52.
}

 53.


 54.
PreloadAnimLib(playerid, animlib[])

 55.
{

 56.
        ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0,1);

 57.
}

 58.


 59.
IsAblePedAnimation(playerid)

 60.
{

 61.
    if(GetPVarType(playerid, "PlayerCuffed") || GetPVarType(playerid, "Injured") || GetPVarType(playerid, "IsFrozen") || GetPVarInt(playerid, "Hospital")) {

 62.
                SendClientMessage(playerid, COLOR_GRAD2, "You can't do that at this time!");

 63.
                return 0;

 64.
        }

 65.
    if(IsPlayerInAnyVehicle(playerid) == 1)

 66.
    {

 67.
                SendClientMessage(playerid, COLOR_GRAD2, "This animation requires you to be outside a vehicle.");

 68.
                return 0;

 69.
        }

 70.
        return 1;

 71.
}

 72.


 73.
IsAbleVehicleAnimation(playerid)

 74.
{

 75.
    if(GetPVarType(playerid, "PlayerCuffed") || GetPVarType(playerid, "Injured") || GetPVarType(playerid, "IsFrozen") || GetPVarInt(playerid, "Hospital")) {

 76.
                SendClientMessage(playerid, COLOR_GRAD2, "You can't do that at this time!");

 77.
                return 0;

 78.
        }

 79.
        if(IsPlayerInAnyVehicle(playerid) == 0)

 80.
    {

 81.
                SendClientMessage(playerid, COLOR_GRAD2, "This animation requires you to be inside a vehicle.");

 82.
                return 0;

 83.
        }

 84.
        return 1;

 85.
}

 86.


 87.
//-------------------------------------------------

 88.


 89.
// ********** SPECIFIC VEHICLES **********

 90.


 91.
IsCLowrider(carid)

 92.
{

 93.
        new Cars[] = { 536, 575, 567};

 94.
        for(new i = 0; i < sizeof(Cars); i++)

 95.
        {

 96.
                if(GetVehicleModel(carid) == Cars[i]) return 1;

 97.
        }

 98.
        return 0;

 99.
}

 100.


 101.
// ********** CALLBACKS **********

 102.


 103.
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)

 104.
{

 105.
        if(GetPVarInt(playerid, "Injured") != 0) return;

 106.
        if(!gPlayerUsingLoopingAnim[playerid]) return;

 107.


 108.
        if(IsKeyJustDown(KEY_SPRINT,newkeys,oldkeys))

 109.
        {

 110.
            StopLoopingAnim(playerid);

 111.
        TextDrawHideForPlayer(playerid,txtAnimHelper);

 112.
    }

 113.
}

 114.


 115.
//------------------------------------------------

 116.


 117.
public OnPlayerDeath(playerid, killerid, reason)

 118.
{

 119.
        if(gPlayerUsingLoopingAnim[playerid])

 120.
        {

 121.
        gPlayerUsingLoopingAnim[playerid] = 0;

 122.
        TextDrawHideForPlayer(playerid,txtAnimHelper);

 123.
        }

 124.


 125.
        return 1;

 126.
}

 127.


 128.
//-------------------------------------------------

 129.


 130.
public OnPlayerSpawn(playerid)

 131.
{

 132.
        if(!gPlayerAnimLibsPreloaded[playerid])

 133.
        {

 134.
            PreloadAnimLib(playerid,"AIRPORT");

 135.
                PreloadAnimLib(playerid,"Attractors");

 136.
                PreloadAnimLib(playerid,"BAR");

 137.
                PreloadAnimLib(playerid,"BASEBALL");

 138.
                PreloadAnimLib(playerid,"BD_FIRE");

 139.
                PreloadAnimLib(playerid,"benchpress");

 140.
        PreloadAnimLib(playerid,"BF_injection");

 141.
        PreloadAnimLib(playerid,"BIKED");

 142.
        PreloadAnimLib(playerid,"BIKEH");

 143.
        PreloadAnimLib(playerid,"BIKELEAP");

 144.
        PreloadAnimLib(playerid,"BIKES");

 145.
        PreloadAnimLib(playerid,"BIKEV");

 146.
        PreloadAnimLib(playerid,"BIKE_DBZ");

 147.
        PreloadAnimLib(playerid,"BMX");

 148.
        PreloadAnimLib(playerid,"BOX");

 149.
        PreloadAnimLib(playerid,"BSKTBALL");

 150.
        PreloadAnimLib(playerid,"BUDDY");

 151.
        PreloadAnimLib(playerid,"BUS");

 152.
        PreloadAnimLib(playerid,"CAMERA");

 153.
        PreloadAnimLib(playerid,"CAR");

 154.
        PreloadAnimLib(playerid,"CAR_CHAT");

 155.
        PreloadAnimLib(playerid,"CASINO");

 156.
        PreloadAnimLib(playerid,"CHAINSAW");

 157.
        PreloadAnimLib(playerid,"CHOPPA");

 158.
        PreloadAnimLib(playerid,"CLOTHES");

 159.
        PreloadAnimLib(playerid,"COACH");

 160.
        PreloadAnimLib(playerid,"COLT45");

 161.
        PreloadAnimLib(playerid,"COP_DVBYZ");

 162.
        PreloadAnimLib(playerid,"CRIB");

 163.
        PreloadAnimLib(playerid,"DAM_JUMP");

 164.
        PreloadAnimLib(playerid,"DANCING");

 165.
        PreloadAnimLib(playerid,"DILDO");

 166.
        PreloadAnimLib(playerid,"DODGE");

 167.
        PreloadAnimLib(playerid,"DOZER");

 168.
        PreloadAnimLib(playerid,"DRIVEBYS");

 169.
        PreloadAnimLib(playerid,"FAT");

 170.
        PreloadAnimLib(playerid,"FIGHT_B");

 171.
        PreloadAnimLib(playerid,"FIGHT_C");

 172.
        PreloadAnimLib(playerid,"FIGHT_D");

 173.
        PreloadAnimLib(playerid,"FIGHT_E");

 174.
        PreloadAnimLib(playerid,"FINALE");

 175.
        PreloadAnimLib(playerid,"FINALE2");

 176.
        PreloadAnimLib(playerid,"Flowers");

 177.
        PreloadAnimLib(playerid,"FOOD");

 178.
        PreloadAnimLib(playerid,"Freeweights");

 179.
        PreloadAnimLib(playerid,"GANGS");

 180.
        PreloadAnimLib(playerid,"GHANDS");

 181.
        PreloadAnimLib(playerid,"GHETTO_DB");

 182.
        PreloadAnimLib(playerid,"goggles");

 183.
        PreloadAnimLib(playerid,"GRAFFITI");

 184.
        PreloadAnimLib(playerid,"GRAVEYARD");

 185.
        PreloadAnimLib(playerid,"GRENADE");

 186.
        PreloadAnimLib(playerid,"GYMNASIUM");

 187.
        PreloadAnimLib(playerid,"HAIRCUTS");

 188.
        PreloadAnimLib(playerid,"HEIST9");

 189.
        PreloadAnimLib(playerid,"INT_HOUSE");

 190.
        PreloadAnimLib(playerid,"INT_OFFICE");

 191.
        PreloadAnimLib(playerid,"INT_SHOP");

 192.
        PreloadAnimLib(playerid,"JST_BUISNESS");

 193.
        PreloadAnimLib(playerid,"KART");

 194.
        PreloadAnimLib(playerid,"KISSING");

 195.
        PreloadAnimLib(playerid,"KNIFE");

 196.
        PreloadAnimLib(playerid,"LAPDAN1");

 197.
        PreloadAnimLib(playerid,"LAPDAN2");

 198.
        PreloadAnimLib(playerid,"LAPDAN3");

 199.
        PreloadAnimLib(playerid,"LOWRIDER");

 200.
        PreloadAnimLib(playerid,"MD_CHASE");

 201.
        PreloadAnimLib(playerid,"MEDIC");

 202.
        PreloadAnimLib(playerid,"MD_END");

 203.
        PreloadAnimLib(playerid,"MISC");

 204.
        PreloadAnimLib(playerid,"MTB");

 205.
        PreloadAnimLib(playerid,"MUSCULAR");

 206.
        PreloadAnimLib(playerid,"NEVADA");

 207.
        PreloadAnimLib(playerid,"ON_LOOKERS");

 208.
        PreloadAnimLib(playerid,"OTB");

 209.
        PreloadAnimLib(playerid,"PARACHUTE");

 210.
        PreloadAnimLib(playerid,"PARK");

 211.
        PreloadAnimLib(playerid,"PAULNMAC");

 212.
        PreloadAnimLib(playerid,"PED");

 213.
        PreloadAnimLib(playerid,"PLAYER_DVBYS");

 214.
        PreloadAnimLib(playerid,"PLAYIDLES");

 215.
        PreloadAnimLib(playerid,"POLICE");

 216.
        PreloadAnimLib(playerid,"POOL");

 217.
        PreloadAnimLib(playerid,"POOR");

 218.
        PreloadAnimLib(playerid,"PYTHON");

 219.
        PreloadAnimLib(playerid,"QUAD");

 220.
        PreloadAnimLib(playerid,"QUAD_DBZ");

 221.
        PreloadAnimLib(playerid,"RIFLE");

 222.
        PreloadAnimLib(playerid,"RIOT");

 223.
        PreloadAnimLib(playerid,"ROB_BANK");

 224.
        PreloadAnimLib(playerid,"ROCKET");

 225.
        PreloadAnimLib(playerid,"RUSTLER");

 226.
        PreloadAnimLib(playerid,"RYDER");

 227.
        PreloadAnimLib(playerid,"SCRATCHING");

 228.
        PreloadAnimLib(playerid,"SHAMAL");

 229.
        PreloadAnimLib(playerid,"SHOTGUN");

 230.
        PreloadAnimLib(playerid,"SILENCED");

 231.
        PreloadAnimLib(playerid,"SKATE");

 232.
        PreloadAnimLib(playerid,"SPRAYCAN");

 233.
        PreloadAnimLib(playerid,"STRIP");

 234.
        PreloadAnimLib(playerid,"SUNBATHE");

 235.
        PreloadAnimLib(playerid,"SWAT");

 236.
        PreloadAnimLib(playerid,"SWEET");

 237.
        PreloadAnimLib(playerid,"SWIM");

 238.
        PreloadAnimLib(playerid,"SWORD");

 239.
        PreloadAnimLib(playerid,"TANK");

 240.
        PreloadAnimLib(playerid,"TATTOOS");

 241.
        PreloadAnimLib(playerid,"TEC");

 242.
        PreloadAnimLib(playerid,"TRAIN");

 243.
        PreloadAnimLib(playerid,"TRUCK");

 244.
        PreloadAnimLib(playerid,"UZI");

 245.
        PreloadAnimLib(playerid,"VAN");

 246.
        PreloadAnimLib(playerid,"VENDING");

 247.
        PreloadAnimLib(playerid,"VORTEX");

 248.
        PreloadAnimLib(playerid,"WAYFARER");

 249.
        PreloadAnimLib(playerid,"WEAPONS");

 250.
        PreloadAnimLib(playerid,"WUZI");

 251.
        PreloadAnimLib(playerid,"SNM");

 252.
        PreloadAnimLib(playerid,"BLOWJOBZ");

 253.
        PreloadAnimLib(playerid,"SEX");

 254.
                PreloadAnimLib(playerid,"BOMBER");

 255.
                PreloadAnimLib(playerid,"RAPPING");

 256.
        PreloadAnimLib(playerid,"SHOP");

 257.
                PreloadAnimLib(playerid,"BEACH");

 258.
                PreloadAnimLib(playerid,"SMOKING");

 259.
        PreloadAnimLib(playerid,"FOOD");

 260.
        PreloadAnimLib(playerid,"ON_LOOKERS");

 261.
        PreloadAnimLib(playerid,"DEALER");

 262.
                PreloadAnimLib(playerid,"CRACK");

 263.
                PreloadAnimLib(playerid,"CARRY");

 264.
                PreloadAnimLib(playerid,"COP_AMBIENT");

 265.
                PreloadAnimLib(playerid,"PARK");

 266.
                PreloadAnimLib(playerid,"INT_HOUSE");

 267.
                PreloadAnimLib(playerid,"FOOD");

 268.
                gPlayerAnimLibsPreloaded[playerid] = 1;

 269.
        }

 270.
        return 1;

 271.
}

 272.


 273.
//-------------------------------------------------

 274.


 275.
public OnPlayerConnect(playerid)

 276.
{

 277.
    gPlayerUsingLoopingAnim[playerid] = 0;

 278.
        gPlayerAnimLibsPreloaded[playerid] = 0;

 279.


 280.
        return 1;

 281.
}

 282.


 283.
//-------------------------------------------------

 284.


 285.
public OnFilterScriptInit()

 286.
{

 287.
        txtAnimHelper = TextDrawCreate(630.0, 420.0,

 288.
        "~r~~k~~PED_SPRINT~ ~w~to stop the animation");

 289.
        TextDrawUseBox(txtAnimHelper, 0);

 290.
        TextDrawFont(txtAnimHelper, 2);

 291.
        TextDrawSetShadow(txtAnimHelper,0);

 292.
    TextDrawSetOutline(txtAnimHelper,1);

 293.
    TextDrawBackgroundColor(txtAnimHelper,0x000000FF);

 294.
    TextDrawColor(txtAnimHelper,0xFFFFFFFF);

 295.
    TextDrawAlignment(txtAnimHelper,3);

 296.
}

 297.


 298.
CMD:animlist(playerid, params[])

 299.
{

 300.
        SendClientMessage(playerid, COLOR_GREEN, "Available Animations:");

 301.
        SendClientMessage(playerid, COLOR_GRAD1, "/handsup /drunk /bomb /rob /laugh /lookout /robman /crossarms /sit /siteat /hide /vomit /eat");

 302.
        SendClientMessage(playerid, COLOR_GRAD2, "/wave /slapass /deal /taichi /crack /smoke /chat /dance /fucku /taichi /drinkwater /pedmove");

 303.
        SendClientMessage(playerid, COLOR_GRAD3, "/checktime /sleep /blob /opendoor /wavedown /shakehand /reload /cpr /dive /showoff /box /tag");

 304.
        SendClientMessage(playerid, COLOR_GRAD4, "/goggles /cry /dj /cheer /throw /robbed /hurt /nobreath /bar /getjiggy /fallover /rap /piss");

 305.
        SendClientMessage(playerid, COLOR_GRAD5, "/salute /crabs /washhands /signal /stop /gesture /jerkoff /idles /lowrider /carchat");

 306.
        SendClientMessage(playerid, COLOR_GRAD6, "/blowjob /spank /sunbathe /kiss /snatch /sneak /copa /sexy /holdup /misc /bodypush");

 307.
        SendClientMessage(playerid, COLOR_GRAD6, "/lowbodypush /headbutt /airkick /doorkick /leftslap /elbow /coprun");

 308.
        SendClientMessage(playerid, COLOR_GREEN, "Use /stopani to stop an animation.");

 309.
        return 1;

 310.
}

 311.


 312.
CMD:animhelp(playerid, params[])

 313.
{

 314.
        return cmd_animlist(playerid, params);

 315.
}

 316.


 317.
/*CMD:stopani(playerid, params[])

 318.
{

 319.
        if(GetPVarInt(playerid, "PlayerCuffed") != 0 || GetPVarInt(playerid, "Injured") == 1 || GetPVarInt(playerid, "IsFrozen") == 1)

 320.
        {

 321.
                SendClientMessage(playerid, COLOR_GRAD2, "You can't do that at this time!");

 322.
                return 1;

 323.
        }

 324.
        if(IsPlayerInAnyVehicle(playerid) == 1)

 325.
        {

 326.
                SendClientMessage(playerid, COLOR_GRAD2, "This command requires you to be outside a vehicle.");

 327.
                return 1;

 328.
        }

 329.
        ClearAnimations(playerid);

 330.
        SetPlayerSkin(playerid, GetPlayerSkin(playerid));

 331.
        SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);

 332.
        return 1;

 333.
}*/

 334.


 335.
CMD:bodypush(playerid, params[])

 336.
{

 337.
        if(!IsAblePedAnimation(playerid)) return 1;

 338.
    ApplyAnimation(playerid,"GANGS","shake_cara",4.0,0,0,0,0,0);

 339.
        return 1;

 340.
}

 341.


 342.
CMD:lowbodypush(playerid, params[])

 343.
{

 344.
        if(!IsAblePedAnimation(playerid)) return 1;

 345.
    ApplyAnimation(playerid,"GANGS","shake_carSH",4.0,0,0,0,0,0);

 346.
        return 1;

 347.
}

 348.


 349.
CMD:headbutt(playerid, params[])

 350.
{

 351.
        if(!IsAblePedAnimation(playerid)) return 1;

 352.
    ApplyAnimation(playerid,"WAYFARER","WF_Fwd",4.0,0,0,0,0,0);

 353.
        return 1;

 354.
}

 355.


 356.
CMD:airkick(playerid, params[])

 357.
{

 358.
        if(!IsAblePedAnimation(playerid)) return 1;

 359.
    ApplyAnimation(playerid,"FIGHT_C","FightC_M",4.0,0,1,1,0,0);

 360.
        return 1;

 361.
}

 362.


 363.
CMD:doorkick(playerid, params[])

 364.
{

 365.
        if(!IsAblePedAnimation(playerid)) return 1;

 366.
    ApplyAnimation(playerid,"POLICE","Door_Kick",4.0,0,0,0,0,0);

 367.
        return 1;

 368.
}

 369.


 370.
CMD:leftslap(playerid, params[])

 371.
{

 372.
        if(!IsAblePedAnimation(playerid)) return 1;

 373.
    ApplyAnimation(playerid,"PED","BIKE_elbowL",4.0,0,0,0,0,0);

 374.
        return 1;

 375.
}

 376.


 377.
CMD:elbow(playerid, params[])

 378.
{

 379.
        if(!IsAblePedAnimation(playerid)) return 1;

 380.
    ApplyAnimation(playerid,"FIGHT_D","FightD_3",4.0,0,1,1,0,0);

 381.
        return 1;

 382.
}

 383.


 384.
CMD:coprun(playerid, params[])

 385.
{

 386.
        if(!IsAblePedAnimation(playerid)) return 1;

 387.
    ApplyAnimation(playerid,"SWORD","sword_block",50.0,0,1,1,1,1);

 388.
        return 1;

 389.
}

 390.


 391.
CMD:handsup(playerid, params[])

 392.
{

 393.
        if(!IsAblePedAnimation(playerid)) return 1;

 394.
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);

 395.
        return 1;

 396.
}

 397.


 398.
CMD:piss(playerid, params[])

 399.
{

 400.
        if(!IsAblePedAnimation(playerid)) return 1;

 401.
        SetPlayerSpecialAction(playerid, 68);

 402.
        return 1;

 403.
}

 404.


 405.
CMD:sneak(playerid, params[])

 406.
{

 407.
        if(!IsAblePedAnimation(playerid)) return 1;

 408.
        PlayAnimEx(playerid, "PED", "Player_Sneak", 4.1, 1, 1, 1, 1, 1, 1);

 409.
        return 1;

 410.
}

 411.


 412.
CMD:drunk(playerid, params[])

 413.
{

 414.
        if(!IsAblePedAnimation(playerid)) return 1;

 415.
        PlayAnimEx(playerid, "PED", "WALK_DRUNK", 4.0, 1, 1, 1, 1, 1, 1);

 416.
    return 1;

 417.
}

 418.


 419.
CMD:bomb(playerid, params[])

 420.
{

 421.
        if(!IsAblePedAnimation(playerid)) return 1;

 422.
        PlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0, 1);

 423.
    return 1;

 424.
}

 425.


 426.
CMD:rob(playerid, params[])

 427.
{

 428.
        if(!IsAblePedAnimation(playerid)) return 1;

 429.
        PlayAnimEx(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, 1, 1);

 430.
        return 1;

 431.
}

 432.


 433.
CMD:laugh(playerid, params[])

 434.
{

 435.
        if(!IsAblePedAnimation(playerid)) return 1;

 436.
        PlayAnimEx(playerid, "RAPPING", "Laugh_01", 4.0, 1, 0, 0, 0, 0, 1);

 437.
        return 1;

 438.
}

 439.


 440.
CMD:lookout(playerid, params[])

 441.
{

 442.
        if(!IsAblePedAnimation(playerid)) return 1;

 443.
        PlayAnim(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0, 1);

 444.
    return 1;

 445.
}

 446.


 447.
CMD:robman(playerid, params[])

 448.
{

 449.
        if(!IsAblePedAnimation(playerid)) return 1;

 450.
    PlayAnimEx(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0, 1);

 451.
    return 1;

 452.
}

 453.


 454.
CMD:hide(playerid, params[])

 455.
{

 456.
        if(!IsAblePedAnimation(playerid)) return 1;

 457.
    PlayAnimEx(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0, 1);

 458.
    return 1;

 459.
}

 460.


 461.
CMD:vomit(playerid, params[])

 462.
{

 463.
        if(!IsAblePedAnimation(playerid)) return 1;

 464.
    PlayAnimEx(playerid, "FOOD", "EAT_Vomit_P", 3.0, 1, 0, 0, 0, 0, 1);

 465.
    return 1;

 466.
}

 467.


 468.
CMD:eat(playerid, params[])

 469.
{

 470.
        if(!IsAblePedAnimation(playerid)) return 1;

 471.
    PlayAnimEx(playerid, "FOOD", "EAT_Burger", 3.0, 1, 0, 0, 0, 0, 1);

 472.
    return 1;

 473.
}

 474.


 475.
CMD:slapass(playerid, params[])

 476.
{

 477.
        if(!IsAblePedAnimation(playerid)) return 1;

 478.
    PlayAnim(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0, 1);

 479.
    return 1;

 480.
}

 481.


 482.
CMD:crack(playerid, params[])

 483.
{

 484.
        if(!IsAblePedAnimation(playerid)) return 1;

 485.
    PlayAnimEx(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0, 1);

 486.
    return 1;

 487.
}

 488.


 489.
CMD:fucku(playerid, params[])

 490.
{

 491.
        if(!IsAblePedAnimation(playerid)) return 1;

 492.
    PlayAnim(playerid, "PED", "fucku", 4.0, 0, 0, 0, 0, 0, 1);

 493.
    return 1;

 494.
}

 495.


 496.
CMD:taichi(playerid, params[])

 497.
{

 498.
        if(!IsAblePedAnimation(playerid)) return 1;

 499.
    PlayAnimEx(playerid, "PARK", "Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0, 1);

 500.
    return 1;

 501.
}

 502.


 503.
CMD:drinkwater(playerid, params[])

 504.
{

 505.
        if(!IsAblePedAnimation(playerid)) return 1;

 506.
    PlayAnimEx(playerid, "BAR", "dnk_stndF_loop", 4.0, 1, 0, 0, 0, 0, 1);

 507.
    return 1;

 508.
}

 509.


 510.
CMD:checktime(playerid, params[])

 511.
{

 512.
        if(!IsAblePedAnimation(playerid)) return 1;

 513.
    PlayAnim(playerid, "COP_AMBIENT", "Coplook_watch", 4.0, 0, 0, 0, 0, 0, 1);

 514.
    return 1;

 515.
}

 516.


 517.
CMD:sleep(playerid, params[])

 518.
{

 519.
        if(!IsAblePedAnimation(playerid)) return 1;

 520.
    PlayAnimEx(playerid, "CRACK", "crckdeth4", 4.0, 0, 1, 1, 1, 0, 1);

 521.
    return 1;

 522.
}

 523.


 524.
CMD:blob(playerid, params[])

 525.
{

 526.
        if(!IsAblePedAnimation(playerid)) return 1;

 527.
    PlayAnimEx(playerid, "CRACK", "crckidle1", 4.0, 0, 1, 1, 1, 0, 1);

 528.
    return 1;

 529.
}

 530.


 531.
CMD:opendoor(playerid, params[])

 532.
{

 533.
        if(!IsAblePedAnimation(playerid)) return 1;

 534.
    PlayAnim(playerid, "AIRPORT", "thrw_barl_thrw", 4.0, 0, 0, 0, 0, 0, 1);

 535.
    return 1;

 536.
}

 537.


 538.
CMD:wavedown(playerid, params[])

 539.
{

 540.
        if(!IsAblePedAnimation(playerid)) return 1;

 541.
    PlayAnim(playerid, "BD_FIRE", "BD_Panic_01", 4.0, 0, 0, 0, 0, 0, 1);

 542.
    return 1;

 543.
}

 544.


 545.
CMD:cpr(playerid, params[])

 546.
{

 547.
        if(!IsAblePedAnimation(playerid)) return 1;

 548.
    PlayAnim(playerid, "MEDIC", "CPR", 4.0, 0, 0, 0, 0, 0, 1);

 549.
    return 1;

 550.
}

 551.


 552.
CMD:dive(playerid, params[])

 553.
{

 554.
        if(!IsAblePedAnimation(playerid)) return 1;

 555.
    PlayAnimEx(playerid, "DODGE", "Crush_Jump", 4.0, 0, 1, 1, 1, 0, 1);

 556.
    return 1;

 557.
}

 558.


 559.
CMD:showoff(playerid, params[])

 560.
{

 561.
        if(!IsAblePedAnimation(playerid)) return 1;

 562.
    PlayAnimEx(playerid, "Freeweights", "gym_free_celebrate", 4.0, 1, 0, 0, 0, 0, 1);

 563.
    return 1;

 564.
}

 565.


 566.
CMD:goggles(playerid, params[])

 567.
{

 568.
        if(!IsAblePedAnimation(playerid)) return 1;

 569.
    PlayAnim(playerid, "goggles", "goggles_put_on", 4.0, 0, 0, 0, 0, 0, 1);

 570.
    return 1;

 571.
}

 572.


 573.
CMD:cry(playerid, params[])

 574.
{

 575.
        if(!IsAblePedAnimation(playerid)) return 1;

 576.
    PlayAnimEx(playerid, "GRAVEYARD", "mrnF_loop", 4.0, 1, 0, 0, 0, 0, 1);

 577.
    return 1;

 578.
}

 579.


 580.
CMD:throw(playerid, params[])

 581.
{

 582.
        if(!IsAblePedAnimation(playerid)) return 1;

 583.
    PlayAnim(playerid, "GRENADE", "WEAPON_throw", 4.0, 0, 0, 0, 0, 0, 1);

 584.
    return 1;

 585.
}

 586.


 587.
CMD:robbed(playerid, params[])

 588.
{

 589.
        if(!IsAblePedAnimation(playerid)) return 1;

 590.
    PlayAnimEx(playerid, "SHOP", "SHP_Rob_GiveCash", 4.0, 1, 0, 0, 0, 0, 1);

 591.
    return 1;

 592.
}

 593.


 594.
CMD:hurt(playerid, params[])

 595.
{

 596.
        if(!IsAblePedAnimation(playerid)) return 1;

 597.
    PlayAnimEx(playerid, "SWAT", "gnstwall_injurd", 4.0, 1, 0, 0, 0, 0, 1);

 598.
    return 1;

 599.
}

 600.


 601.
CMD:box(playerid, params[])

 602.
{

 603.
        if(!IsAblePedAnimation(playerid)) return 1;

 604.
    PlayAnimEx(playerid, "GYMNASIUM", "GYMshadowbox", 4.0, 1, 0, 0, 0, 0, 1);

 605.
    return 1;

 606.
}

 607.


 608.
CMD:washhands(playerid, params[])

 609.
{

 610.
        if(!IsAblePedAnimation(playerid)) return 1;

 611.
    PlayAnimEx(playerid, "BD_FIRE", "wash_up", 4.0, 1, 0, 0, 0, 0, 1);

 612.
    return 1;

 613.
}

 614.


 615.
CMD:crabs(playerid, params[])

 616.
{

 617.
        if(!IsAblePedAnimation(playerid)) return 1;

 618.
    PlayAnimEx(playerid, "MISC", "Scratchballs_01", 4.0, 1, 0, 0, 0, 0, 1);

 619.
    return 1;

 620.
}

 621.


 622.
CMD:salute(playerid, params[])

 623.
{

 624.
        if(!IsAblePedAnimation(playerid)) return 1;

 625.
    PlayAnimEx(playerid, "ON_LOOKERS", "Pointup_loop", 4.0, 1, 0, 0, 0, 0, 1);

 626.
    return 1;

 627.
}

 628.


 629.
CMD:jerkoff(playerid, params[])

 630.
{

 631.
        if(!IsAblePedAnimation(playerid)) return 1;

 632.
    PlayAnimEx(playerid, "PAULNMAC", "wank_out", 4.0, 1, 0, 0, 0, 0, 1);

 633.
    return 1;

 634.
}

 635.


 636.
CMD:stop(playerid, params[])

 637.
{

 638.
        if(!IsAblePedAnimation(playerid)) return 1;

 639.
    PlayAnimEx(playerid, "PED", "endchat_01", 4.0, 1, 0, 0, 0, 0, 1);

 640.
    return 1;

 641.
}

 642.


 643.
CMD:rap(playerid, params[])

 644.
{

 645.
        if(!IsAblePedAnimation(playerid)) return 1;

 646.
        switch(strval(params))

 647.
        {

 648.
        case 1: PlayAnimEx(playerid, "RAPPING", "RAP_A_Loop", 4.0, 1, 0, 0, 0, 0, 1);

 649.
        case 2: PlayAnimEx(playerid, "RAPPING", "RAP_B_Loop", 4.0, 1, 0, 0, 0, 0, 1);

 650.
        case 3: PlayAnimEx(playerid, "RAPPING", "RAP_C_Loop", 4.0, 1, 0, 0, 0, 0, 1);

 651.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /rap [1-3]");

 652.
        }

 653.
        return 1;

 654.
}

 655.


 656.
CMD:chat(playerid, params[])

 657.
{

 658.
        if(!IsAblePedAnimation(playerid)) return 1;

 659.
        switch(strval(params))

 660.
        {

 661.
        case 1: PlayAnimEx(playerid, "PED", "IDLE_CHAT", 4.0, 1, 0, 0, 0, 0, 1);

 662.
        case 2: PlayAnimEx(playerid, "GANGS", "prtial_gngtlkA", 4.0, 1, 0, 0, 0, 0, 1);

 663.
        case 3: PlayAnimEx(playerid, "GANGS", "prtial_gngtlkB", 4.0, 1, 0, 0, 0, 0, 1);

 664.
        case 4: PlayAnimEx(playerid, "GANGS", "prtial_gngtlkE", 4.0, 1, 0, 0, 0, 0, 1);

 665.
        case 5: PlayAnimEx(playerid, "GANGS", "prtial_gngtlkF", 4.0, 1, 0, 0, 0, 0, 1);

 666.
        case 6: PlayAnimEx(playerid, "GANGS", "prtial_gngtlkG", 4.0, 1, 0, 0, 0, 0, 1);

 667.
        case 7: PlayAnimEx(playerid, "GANGS", "prtial_gngtlkH", 4.0, 1, 0, 0, 0, 0, 1);

 668.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /chat [1-7]");

 669.
        }

 670.
        return 1;

 671.
}

 672.


 673.
CMD:gesture(playerid, params[])

 674.
{

 675.
        if(!IsAblePedAnimation(playerid)) return 1;

 676.
        switch(strval(params))

 677.
        {

 678.
        case 1: PlayAnim(playerid, "GHANDS", "gsign1", 4.0, 0, 0, 0, 0, 0, 1);

 679.
        case 2: PlayAnim(playerid, "GHANDS", "gsign1LH", 4.0, 0, 0, 0, 0, 0, 1);

 680.
        case 3: PlayAnim(playerid, "GHANDS", "gsign2", 4.0, 0, 0, 0, 0, 0, 1);

 681.
        case 4: PlayAnim(playerid, "GHANDS", "gsign2LH", 4.0, 0, 0, 0, 0, 0, 1);

 682.
        case 5: PlayAnim(playerid, "GHANDS", "gsign3", 4.0, 0, 0, 0, 0, 0, 1);

 683.
        case 6: PlayAnim(playerid, "GHANDS", "gsign3LH", 4.0, 0, 0, 0, 0, 0, 1);

 684.
        case 7: PlayAnim(playerid, "GHANDS", "gsign4", 4.0, 0, 0, 0, 0, 0, 1);

 685.
        case 8: PlayAnim(playerid, "GHANDS", "gsign4LH", 4.0, 0, 0, 0, 0, 0, 1);

 686.
        case 9: PlayAnim(playerid, "GHANDS", "gsign5", 4.0, 0, 0, 0, 0, 0, 1);

 687.
        case 10: PlayAnim(playerid, "GHANDS", "gsign5", 4.0, 0, 0, 0, 0, 0, 1);

 688.
        case 11: PlayAnim(playerid, "GHANDS", "gsign5LH", 4.0, 0, 0, 0, 0, 0, 1);

 689.
        case 12: PlayAnim(playerid, "GANGS", "Invite_No", 4.0, 0, 0, 0, 0, 0, 1);

 690.
        case 13: PlayAnim(playerid, "GANGS", "Invite_Yes", 4.0, 0, 0, 0, 0, 0, 1);

 691.
        case 14: PlayAnim(playerid, "GANGS", "prtial_gngtlkD", 4.0, 0, 0, 0, 0, 0, 1);

 692.
        case 15: PlayAnim(playerid, "GANGS", "smkcig_prtl", 4.0, 0, 0, 0, 0, 0, 1);

 693.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gesture [1-15]");

 694.
        }

 695.
        return 1;

 696.
}

 697.


 698.
CMD:lay(playerid, params[])

 699.
{

 700.
        if(!IsAblePedAnimation(playerid)) return 1;

 701.
        switch(strval(params))

 702.
        {

 703.
        case 1: PlayAnimEx(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0, 1);

 704.
        case 2: PlayAnimEx(playerid, "BEACH", "Lay_Bac_Loop", 4.0, 1, 0, 0, 0, 0, 1);

 705.
        case 3: PlayAnimEx(playerid, "BEACH", "SitnWait_loop_W", 4.0, 1, 0, 0, 0, 0, 1);

 706.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /lay [1-3]");

 707.
        }

 708.
        return 1;

 709.
}

 710.


 711.
CMD:wave(playerid, params[])

 712.
{

 713.
        if(!IsAblePedAnimation(playerid)) return 1;

 714.
        switch(strval(params))

 715.
        {

 716.
        case 1: PlayAnimEx(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0, 1);

 717.
        case 2: PlayAnimEx(playerid, "KISSING", "gfwave2", 4.0, 1, 0, 0, 0, 0, 1);

 718.
        case 3: PlayAnimEx(playerid, "PED", "endchat_03", 4.0, 1, 0, 0, 0, 0, 1);

 719.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wave [1-3]");

 720.
        }

 721.
        return 1;

 722.
}

 723.


 724.
CMD:signal(playerid, params[])

 725.
{

 726.
        if(!IsAblePedAnimation(playerid)) return 1;

 727.
        switch(strval(params))

 728.
        {

 729.
        case 1: PlayAnimEx(playerid, "POLICE", "CopTraf_Come", 4.0, 1, 0, 0, 0, 0, 1);

 730.
        case 2: PlayAnimEx(playerid, "POLICE", "CopTraf_Stop", 4.0, 1, 0, 0, 0, 0, 1);

 731.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /signal [1-2]");

 732.
        }

 733.
        return 1;

 734.
}

 735.


 736.
CMD:nobreath(playerid, params[])

 737.
{

 738.
        if(!IsAblePedAnimation(playerid)) return 1;

 739.
        switch(strval(params))

 740.
        {

 741.
        case 1: PlayAnimEx(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0, 1);

 742.
        case 2: PlayAnimEx(playerid, "PED", "IDLE_tired", 4.0, 1, 0, 0, 0, 0, 1);

 743.
        case 3: PlayAnimEx(playerid, "FAT", "IDLE_tired", 4.0, 1, 0, 0, 0, 0, 1);

 744.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /nobreath [1-3]");

 745.
        }

 746.
        return 1;

 747.
}

 748.


 749.
CMD:fallover(playerid, params[])

 750.
{

 751.
        if(!IsAblePedAnimation(playerid)) return 1;

 752.
        switch(strval(params))

 753.
        {

 754.
        case 1: PlayAnimEx(playerid, "KNIFE", "KILL_Knife_Ped_Die", 4.0, 0, 1, 1, 1, 0, 1);

 755.
        case 2: PlayAnimEx(playerid, "PED", "KO_shot_face", 4.0, 0, 1, 1, 1, 0, 1);

 756.
        case 3: PlayAnimEx(playerid, "PED", "KO_shot_stom", 4.0, 0, 1, 1, 1, 0, 1);

 757.
        case 4: PlayAnimEx(playerid, "PED", "BIKE_fallR", 4.1, 0, 1, 1, 1, 0, 1);

 758.
        case 5: PlayAnimEx(playerid, "PED", "BIKE_fall_off", 4.1, 0, 1, 1, 1, 0, 1);

 759.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fallover [1-5]");

 760.
        }

 761.
        return 1;

 762.
}

 763.


 764.
CMD:pedmove(playerid, params[])

 765.
{

 766.
        if(!IsAblePedAnimation(playerid)) return 1;

 767.
        switch(strval(params))

 768.
        {

 769.
        case 1: PlayAnimEx(playerid, "PED", "JOG_femaleA", 4.0, 1, 1, 1, 1, 1, 1);

 770.
        case 2: PlayAnimEx(playerid, "PED", "JOG_maleA", 4.0, 1, 1, 1, 1, 1, 1);

 771.
        case 3: PlayAnimEx(playerid, "PED", "WOMAN_walkfatold", 4.0, 1, 1, 1, 1, 1, 1);

 772.
        case 4: PlayAnimEx(playerid, "PED", "run_fat", 4.0, 1, 1, 1, 1, 1, 1);

 773.
        case 5: PlayAnimEx(playerid, "PED", "run_fatold", 4.0, 1, 1, 1, 1, 1, 1);

 774.
        case 6: PlayAnimEx(playerid, "PED", "run_old", 4.0, 1, 1, 1, 1, 1, 1);

 775.
        case 7: PlayAnimEx(playerid, "PED", "Run_Wuzi", 4.0, 1, 1, 1, 1, 1, 1);

 776.
        case 8: PlayAnimEx(playerid, "PED", "swat_run", 4.0, 1, 1, 1, 1, 1, 1);

 777.
        case 9: PlayAnimEx(playerid, "PED", "WALK_fat", 4.0, 1, 1, 1, 1, 1, 1);

 778.
        case 10: PlayAnimEx(playerid, "PED", "WALK_fatold", 4.0, 1, 1, 1, 1, 1, 1);

 779.
        case 11: PlayAnimEx(playerid, "PED", "WALK_gang1", 4.0, 1, 1, 1, 1, 1, 1);

 780.
        case 12: PlayAnimEx(playerid, "PED", "WALK_gang2", 4.0, 1, 1, 1, 1, 1, 1);

 781.
        case 13: PlayAnimEx(playerid, "PED", "WALK_old", 4.0, 1, 1, 1, 1, 1, 1);

 782.
        case 14: PlayAnimEx(playerid, "PED", "WALK_shuffle", 4.0, 1, 1, 1, 1, 1, 1);

 783.
        case 15: PlayAnimEx(playerid, "PED", "woman_run", 4.0, 1, 1, 1, 1, 1, 1);

 784.
        case 16: PlayAnimEx(playerid, "PED", "WOMAN_runbusy", 4.0, 1, 1, 1, 1, 1, 1);

 785.
        case 17: PlayAnimEx(playerid, "PED", "WOMAN_runfatold", 4.0, 1, 1, 1, 1, 1, 1);

 786.
        case 18: PlayAnimEx(playerid, "PED", "woman_runpanic", 4.0, 1, 1, 1, 1, 1, 1);

 787.
        case 19: PlayAnimEx(playerid, "PED", "WOMAN_runsexy", 4.0, 1, 1, 1, 1, 1, 1);

 788.
        case 20: PlayAnimEx(playerid, "PED", "WOMAN_walkbusy", 4.0, 1, 1, 1, 1, 1, 1);

 789.
        case 21: PlayAnimEx(playerid, "PED", "WOMAN_walkfatold", 4.0, 1, 1, 1, 1, 1, 1);

 790.
        case 22: PlayAnimEx(playerid, "PED", "WOMAN_walknorm", 4.0, 1, 1, 1, 1, 1, 1);

 791.
        case 23: PlayAnimEx(playerid, "PED", "WOMAN_walkold", 4.0, 1, 1, 1, 1, 1, 1);

 792.
        case 24: PlayAnimEx(playerid, "PED", "WOMAN_walkpro", 4.0, 1, 1, 1, 1, 1, 1);

 793.
        case 25: PlayAnimEx(playerid, "PED", "WOMAN_walksexy", 4.0, 1, 1, 1, 1, 1, 1);

 794.
        case 26: PlayAnimEx(playerid, "PED", "WOMAN_walkshop", 4.0, 1, 1, 1, 1, 1, 1);

 795.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pedmove [1-26]");

 796.
        }

 797.
        return 1;

 798.
}

 799.


 800.
CMD:getjiggy(playerid, params[])

 801.
{

 802.
        if(!IsAblePedAnimation(playerid)) return 1;

 803.
        switch(strval(params))

 804.
        {

 805.
        case 1: PlayAnimEx(playerid, "DANCING", "DAN_Down_A", 4.0, 1, 0, 0, 0, 0, 1);

 806.
        case 2: PlayAnimEx(playerid, "DANCING", "DAN_Left_A", 4.0, 1, 0, 0, 0, 0, 1);

 807.
        case 3: PlayAnimEx(playerid, "DANCING", "DAN_Loop_A", 4.0, 1, 0, 0, 0, 0, 1);

 808.
        case 4: PlayAnimEx(playerid, "DANCING", "DAN_Right_A", 4.0, 1, 0, 0, 0, 0, 1);

 809.
        case 5: PlayAnimEx(playerid, "DANCING", "DAN_Up_A", 4.0, 1, 0, 0, 0, 0, 1);

 810.
        case 6: PlayAnimEx(playerid, "DANCING", "dnce_M_a", 4.0, 1, 0, 0, 0, 0, 1);

 811.
        case 7: PlayAnimEx(playerid, "DANCING", "dnce_M_b", 4.0, 1, 0, 0, 0, 0, 1);

 812.
        case 8: PlayAnimEx(playerid, "DANCING", "dnce_M_c", 4.0, 1, 0, 0, 0, 0, 1);

 813.
        case 9: PlayAnimEx(playerid, "DANCING", "dnce_M_c", 4.0, 1, 0, 0, 0, 0, 1);

 814.
        case 10: PlayAnimEx(playerid, "DANCING", "dnce_M_d", 4.0, 1, 0, 0, 0, 0, 1);

 815.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /getjiggy [1-10]");

 816.
        }

 817.
        return 1;

 818.
}

 819.


 820.
CMD:stripclub(playerid, params[])

 821.
{

 822.
        if(!IsAblePedAnimation(playerid)) return 1;

 823.
        switch(strval(params))

 824.
        {

 825.
        case 1: PlayAnimEx(playerid, "STRIP", "PLY_CASH", 4.0, 1, 0, 0, 0, 0, 1);

 826.
        case 2: PlayAnimEx(playerid, "STRIP", "PUN_CASH", 4.0, 1, 0, 0, 0, 0, 1);

 827.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /stripclub [1-2]");

 828.
        }

 829.
        return 1;

 830.
}

 831.


 832.
CMD:smoke(playerid, params[])

 833.
{

 834.
        if(!IsAblePedAnimation(playerid)) return 1;

 835.
        switch(strval(params))

 836.
        {

 837.
        case 1: PlayAnim(playerid, "SMOKING", "M_smk_in", 4.0, 0, 0, 0, 0, 0, 1);

 838.
        case 2: PlayAnimEx(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0, 1);

 839.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /smoke [1-2]");

 840.
        }

 841.
        return 1;

 842.
}

 843.


 844.
CMD:dj(playerid, params[])

 845.
{

 846.
        if(!IsAblePedAnimation(playerid)) return 1;

 847.
        switch(strval(params))

 848.
        {

 849.
        case 1: PlayAnimEx(playerid, "SCRATCHING", "scdldlp", 4.0, 1, 0, 0, 0, 0, 1);

 850.
        case 2: PlayAnimEx(playerid, "SCRATCHING", "scdlulp", 4.0, 1, 0, 0, 0, 0, 1);

 851.
        case 3: PlayAnimEx(playerid, "SCRATCHING", "scdrdlp", 4.0, 1, 0, 0, 0, 0, 1);

 852.
        case 4: PlayAnimEx(playerid, "SCRATCHING", "scdrulp", 4.0, 1, 0, 0, 0, 0, 1);

 853.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dj [1-4]");

 854.
        }

 855.
        return 1;

 856.
}

 857.


 858.
CMD:reload(playerid, params[])

 859.
{

 860.
        if(!IsAblePedAnimation(playerid)) return 1;

 861.
        switch(strval(params))

 862.
        {

 863.
        case 1: PlayAnim(playerid, "BUDDY", "buddy_reload", 4.0, 0, 0, 0, 0, 0, 1);

 864.
        case 2: PlayAnim(playerid, "PYTHON", "python_reload", 4.0, 0, 0, 0, 0, 0, 1);

 865.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /reload [1-2]");

 866.
        }

 867.
        return 1;

 868.
}

 869.


 870.
CMD:tag(playerid, params[])

 871.
{

 872.
        if(!IsAblePedAnimation(playerid)) return 1;

 873.
        switch(strval(params))

 874.
        {

 875.
        case 1: PlayAnimEx(playerid, "GRAFFITI", "graffiti_Chkout", 4.0, 1, 0, 0, 0, 0, 1);

 876.
        case 2: PlayAnimEx(playerid, "GRAFFITI", "spraycan_fire", 4.0, 1, 0, 0, 0, 0, 1);

 877.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tag [1-2]");

 878.
        }

 879.
        return 1;

 880.
}

 881.


 882.
CMD:deal(playerid, params[])

 883.
{

 884.
        if(!IsAblePedAnimation(playerid)) return 1;

 885.
        switch(strval(params))

 886.
        {

 887.
        case 1: PlayAnimEx(playerid, "DEALER", "DEALER_DEAL", 4.0, 1, 0, 0, 0, 0, 1);

 888.
        case 2: PlayAnimEx(playerid, "DEALER", "shop_pay", 4.0, 1, 0, 0, 0, 0, 1);

 889.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deal [1-2]");

 890.
        }

 891.
        return 1;

 892.
}

 893.


 894.
CMD:crossarms(playerid, params[])

 895.
{

 896.
        if(!IsAblePedAnimation(playerid)) return 1;

 897.
        switch(strval(params))

 898.
        {

 899.
        case 1: PlayAnimEx(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1, 1);

 900.
        case 2: PlayAnimEx(playerid, "DEALER", "DEALER_IDLE", 4.0, 1, 0, 0, 0, 0, 1);

 901.
        case 3: PlayAnimEx(playerid, "GRAVEYARD", "mrnM_loop", 4.0, 1, 0, 0, 0, 0, 1);

 902.
        case 4: PlayAnimEx(playerid, "GRAVEYARD", "prst_loopa", 4.0, 1, 0, 0, 0, 0, 1);

 903.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /crossarms [1-4]");

 904.
        }

 905.
        return 1;

 906.
}

 907.


 908.
CMD:cheer(playerid, params[])

 909.
{

 910.
        if(!IsAblePedAnimation(playerid)) return 1;

 911.
        switch(strval(params))

 912.
        {

 913.
        case 1: PlayAnimEx(playerid, "ON_LOOKERS", "shout_01", 4.0, 1, 0, 0, 0, 0, 1);

 914.
        case 2: PlayAnimEx(playerid, "ON_LOOKERS", "shout_02", 4.0, 1, 0, 0, 0, 0, 1);

 915.
        case 3: PlayAnimEx(playerid, "ON_LOOKERS", "shout_in", 4.0, 1, 0, 0, 0, 0, 1);

 916.
        case 4: PlayAnimEx(playerid, "RIOT", "RIOT_ANGRY_B", 4.0, 1, 0, 0, 0, 0, 1);

 917.
        case 5: PlayAnimEx(playerid, "RIOT", "RIOT_CHANT", 4.0, 1, 0, 0, 0, 0, 1);

 918.
        case 6: PlayAnimEx(playerid, "RIOT", "RIOT_shout", 4.0, 1, 0, 0, 0, 0, 1);

 919.
        case 7: PlayAnimEx(playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 0, 0, 0, 0, 1);

 920.
        case 8: PlayAnimEx(playerid, "OTB", "wtchrace_win", 4.0, 1, 0, 0, 0, 0, 1);

 921.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /cheer [1-8]");

 922.
        }

 923.
        return 1;

 924.
}

 925.


 926.
CMD:sit(playerid, params[])

 927.
{

 928.
        if(!IsAblePedAnimation(playerid)) return 1;

 929.
        switch(strval(params))

 930.
        {

 931.
        case 1: PlayAnimEx(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0, 1);

 932.
        case 2: PlayAnimEx(playerid, "BEACH", "Lay_Bac_Loop", 4.0, 1, 0, 0, 0, 0, 1);

 933.
        case 3: PlayAnimEx(playerid, "BEACH", "ParkSit_W_loop", 4.0, 1, 0, 0, 0, 0, 1);

 934.
        case 4: PlayAnimEx(playerid, "BEACH", "SitnWait_loop_W", 4.0, 1, 0, 0, 0, 0, 1);

 935.
        case 5: PlayAnimEx(playerid, "BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0, 1);

 936.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sit [1-5]");

 937.
        }

 938.
        return 1;

 939.
}

 940.


 941.
CMD:siteat(playerid, params[])

 942.
{

 943.
        if(!IsAblePedAnimation(playerid)) return 1;

 944.
        switch(strval(params))

 945.
        {

 946.
        case 1: PlayAnimEx(playerid, "FOOD", "FF_Sit_Eat3", 4.0, 1, 0, 0, 0, 0, 1);

 947.
        case 2: PlayAnimEx(playerid, "FOOD", "FF_Sit_Eat2", 4.0, 1, 0, 0, 0, 0, 1);

 948.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /siteat [1-2]");

 949.
        }

 950.
        return 1;

 951.
}

 952.


 953.
CMD:bar(playerid, params[])

 954.
{

 955.
        if(!IsAblePedAnimation(playerid)) return 1;

 956.
        switch(strval(params))

 957.
        {

 958.
        case 1: PlayAnim(playerid, "BAR", "Barcustom_get", 4.0, 0, 1, 0, 0, 0, 1);

 959.
        case 2: PlayAnim(playerid, "BAR", "Barserve_bottle", 4.0, 0, 0, 0, 0, 0, 1);

 960.
        case 3: PlayAnim(playerid, "BAR", "Barserve_give", 4.0, 0, 0, 0, 0, 0, 1);

 961.
        case 4: PlayAnim(playerid, "BAR", "dnk_stndM_loop", 4.0, 0, 0, 0, 0, 0, 1);

 962.
        case 5: PlayAnimEx(playerid, "BAR", "BARman_idle", 4.0, 1, 0, 0, 0, 0, 1);

 963.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bar [1-5]");

 964.
        }

 965.
        return 1;

 966.
}

 967.


 968.
CMD:dance(playerid, params[])

 969.
{

 970.
        if(!IsAblePedAnimation(playerid)) return 1;

 971.
        switch(strval(params))

 972.
        {

 973.
        case 1: SetPlayerSpecialAction(playerid, 5);

 974.
        case 2: SetPlayerSpecialAction(playerid, 6);

 975.
        case 3: SetPlayerSpecialAction(playerid, 7);

 976.
        case 4: SetPlayerSpecialAction(playerid, 8);

 977.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dance [1-4]");

 978.
        }

 979.
        return 1;

 980.
}

 981.


 982.
CMD:spank(playerid, params[])

 983.
{

 984.
        if(!IsAblePedAnimation(playerid)) return 1;

 985.
        switch(strval(params))

 986.
        {

 987.
        case 1: PlayAnimEx(playerid, "SNM", "SPANKINGW", 4.1, 1, 0, 0, 0, 0, 1);

 988.
        case 2: PlayAnimEx(playerid, "SNM", "SPANKINGP", 4.1, 1, 0, 0, 0, 0, 1);

 989.
        case 3: PlayAnimEx(playerid, "SNM", "SPANKEDW", 4.1, 1, 0, 0, 0, 0, 1);

 990.
        case 4: PlayAnimEx(playerid, "SNM", "SPANKEDP", 4.1, 1, 0, 0, 0, 0, 1);

 991.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /spank [1-4]");

 992.
        }

 993.
        return 1;

 994.
}

 995.


 996.
CMD:sexy(playerid, params[])

 997.
{

 998.
        if(!IsAblePedAnimation(playerid)) return 1;

 999.
        switch(strval(params))

 1000.
        {

 1001.
        case 1: PlayAnimEx(playerid, "STRIP", "strip_E", 4.1, 1, 0, 0, 0, 0, 1);

 1002.
        case 2: PlayAnimEx(playerid, "STRIP", "strip_G", 4.1, 1, 0, 0, 0, 0, 1);

 1003.
        case 3: PlayAnim(playerid, "STRIP", "STR_A2B", 4.1, 0, 0, 0, 0, 0, 1);

 1004.
        case 4: PlayAnimEx(playerid, "STRIP", "STR_Loop_A", 4.1, 1, 0, 0, 0, 0, 1);

 1005.
        case 5: PlayAnimEx(playerid, "STRIP", "STR_Loop_B", 4.1, 1, 0, 0, 0, 0, 1);

 1006.
        case 6: PlayAnimEx(playerid, "STRIP", "STR_Loop_C", 4.1, 1, 0, 0, 0, 0, 1);

 1007.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sexy [1-6]");

 1008.
        }

 1009.
        return 1;

 1010.
}

 1011.


 1012.
CMD:holdup(playerid, params[])

 1013.
{

 1014.
        if(!IsAblePedAnimation(playerid)) return 1;

 1015.
        switch(strval(params))

 1016.
        {

 1017.
        case 1: PlayAnimEx(playerid, "POOL", "POOL_ChalkCue", 4.1, 0, 1, 1, 1, 1, 1);

 1018.
        case 2: PlayAnimEx(playerid, "POOL", "POOL_Idle_Stance", 4.1, 0, 1, 1, 1, 1, 1);

 1019.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /holdup [1-2]");

 1020.
        }

 1021.
        return 1;

 1022.
}

 1023.


 1024.
CMD:copa(playerid, params[])

 1025.
{

 1026.
        if(!IsAblePedAnimation(playerid)) return 1;

 1027.
        switch(strval(params))

 1028.
        {

 1029.
        case 1: PlayAnim(playerid, "POLICE", "CopTraf_Away", 4.1, 0, 0, 0, 0, 0, 1);

 1030.
        case 2: PlayAnim(playerid, "POLICE", "CopTraf_Come", 4.1, 0, 0, 0, 0, 0, 1);

 1031.
        case 3: PlayAnim(playerid, "POLICE", "CopTraf_Left", 4.1, 0, 0, 0, 0, 0, 1);

 1032.
        case 4: PlayAnim(playerid, "POLICE", "CopTraf_Stop", 4.1, 0, 0, 0, 0, 0, 1);

 1033.
        case 5: PlayAnimEx(playerid, "POLICE", "Cop_move_FWD", 4.1, 1, 1, 1, 1, 1, 1);

 1034.
        case 6: PlayAnimEx(playerid, "POLICE", "crm_drgbst_01", 4.1, 0, 0, 0, 1, 5000, 1);

 1035.
        case 7: PlayAnim(playerid, "POLICE", "Door_Kick", 4.1, 0, 1, 1, 1, 1, 1);

 1036.
        case 8: PlayAnim(playerid, "POLICE", "plc_drgbst_01", 4.1, 0, 0, 0, 0, 5000, 1);

 1037.
        case 9: PlayAnim(playerid, "POLICE", "plc_drgbst_02", 4.1, 0, 0, 0, 0, 0, 1);

 1038.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /copa [1-9]");

 1039.
        }

 1040.
        return 1;

 1041.
}

 1042.


 1043.
CMD:misc(playerid, params[])

 1044.
{

 1045.
        if(!IsAblePedAnimation(playerid)) return 1;

 1046.
        switch(strval(params))

 1047.
        {

 1048.
        case 1: PlayAnimEx(playerid, "CAR", "Fixn_Car_Loop", 4.1, 1, 0, 0, 0, 0, 1);

 1049.
        case 2: PlayAnim(playerid, "CAR", "flag_drop", 4.1, 0, 0, 0, 0, 0, 1);

 1050.
        case 3: PlayAnim(playerid, "PED", "bomber", 4.1, 0, 0, 0, 0, 0, 1);

 1051.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /misc [1-3]");

 1052.
        }

 1053.
        return 1;

 1054.
}

 1055.


 1056.
CMD:snatch(playerid, params[])

 1057.
{

 1058.
        if(!IsAblePedAnimation(playerid)) return 1;

 1059.
        switch(strval(params))

 1060.
        {

 1061.
        case 1: PlayAnim(playerid, "PED", "BIKE_elbowL", 4.1, 0, 0, 0, 0, 0, 1);

 1062.
        case 2: PlayAnim(playerid, "PED", "BIKE_elbowR", 4.1, 0, 0, 0, 0, 0, 1);

 1063.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /snatch [1-2]");

 1064.
        }

 1065.
        return 1;

 1066.
}

 1067.


 1068.
CMD:blowjob(playerid, params[])

 1069.
{

 1070.
        if(!IsAblePedAnimation(playerid)) return 1;

 1071.
        switch(strval(params))

 1072.
        {

 1073.
        case 1: PlayAnimEx(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_P", 4.1, 1, 0, 0, 0, 0, 1);

 1074.
        // case 2: PlayAnimEx(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_W", 4.1, 1, 0, 0, 0, 0, 1);

 1075.
        case 2: PlayAnimEx(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_P", 4.1, 1, 0, 0, 0, 0, 1);

 1076.
        //case 3: PlayAnimEx(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_W", 4.1, 1, 0, 0, 0, 0, 1);

 1077.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /blowjob [1-2]");

 1078.
        }

 1079.
        return 1;

 1080.
}

 1081.


 1082.
CMD:kiss(playerid, params[])

 1083.
{

 1084.
        if(!IsAblePedAnimation(playerid)) return 1;

 1085.
        switch(strval(params))

 1086.
        {

 1087.
        case 1: PlayAnim(playerid, "KISSING", "Playa_Kiss_01", 4.1, 0, 0, 0, 0, 0, 1);

 1088.
        case 2: PlayAnim(playerid, "KISSING", "Playa_Kiss_02", 4.1, 0, 0, 0, 0, 0, 1);

 1089.
        case 3: PlayAnim(playerid, "KISSING", "Playa_Kiss_03", 4.1, 0, 0, 0, 0, 0, 1);

 1090.
        case 4: PlayAnim(playerid, "KISSING", "Grlfrd_Kiss_01", 4.1, 0, 0, 0, 0, 0, 1);

 1091.
        case 5: PlayAnim(playerid, "KISSING", "Grlfrd_Kiss_02", 4.1, 0, 0, 0, 0, 0, 1);

 1092.
        case 6: PlayAnim(playerid, "KISSING", "Grlfrd_Kiss_03", 4.1, 0, 0, 0, 0, 0, 1);

 1093.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /kiss [1-6]");

 1094.
        }

 1095.
        return 1;

 1096.
}

 1097.


 1098.
CMD:idles(playerid, params[])

 1099.
{

 1100.
        if(!IsAblePedAnimation(playerid)) return 1;

 1101.
        switch(strval(params))

 1102.
        {

 1103.
        case 1: PlayAnimEx(playerid, "PLAYIDLES", "shift", 4.1, 1, 1, 1, 1, 1, 1);

 1104.
        case 2: PlayAnimEx(playerid, "PLAYIDLES", "shldr", 4.1, 1, 1, 1, 1, 1, 1);

 1105.
        case 3: PlayAnimEx(playerid, "PLAYIDLES", "stretch", 4.1, 1, 1, 1, 1, 1, 1);

 1106.
        case 4: PlayAnimEx(playerid, "PLAYIDLES", "strleg", 4.1, 1, 1, 1, 1, 1, 1);

 1107.
        case 5: PlayAnimEx(playerid, "PLAYIDLES", "time", 4.1, 1, 1, 1, 1, 1, 1);

 1108.
        case 6: PlayAnimEx(playerid, "COP_AMBIENT", "Copbrowse_loop", 4.1, 1, 0, 0, 0, 0, 1);

 1109.
        case 7: PlayAnimEx(playerid, "COP_AMBIENT", "Coplook_loop", 4.1, 1, 0, 0, 0, 0, 1);

 1110.
        case 8: PlayAnimEx(playerid, "COP_AMBIENT", "Coplook_shake", 4.1, 1, 0, 0, 0, 0, 1);

 1111.
        case 9: PlayAnimEx(playerid, "COP_AMBIENT", "Coplook_think", 4.1, 1, 0, 0, 0, 0, 1);

 1112.
        case 10: PlayAnimEx(playerid, "COP_AMBIENT", "Coplook_watch", 4.1, 1, 0, 0, 0, 0, 1);

 1113.
        case 11: PlayAnimEx(playerid, "PED", "roadcross", 4.1, 1, 0, 0, 0, 0, 1);

 1114.
        case 12: PlayAnimEx(playerid, "PED", "roadcross_female", 4.1, 1, 0, 0, 0, 0, 1);

 1115.
        case 13: PlayAnimEx(playerid, "PED", "roadcross_gang", 4.1, 1, 0, 0, 0, 0, 1);

 1116.
        case 14: PlayAnimEx(playerid, "PED", "roadcross_old", 4.1, 1, 0, 0, 0, 0, 1);

 1117.
        case 15: PlayAnimEx(playerid, "PED", "woman_idlestance", 4.1, 1, 0, 0, 0, 0, 1);

 1118.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /idles [1-15]");

 1119.
        }

 1120.
        return 1;

 1121.
}

 1122.


 1123.
CMD:sunbathe(playerid, params[])

 1124.
{

 1125.
        if(!IsAblePedAnimation(playerid)) return 1;

 1126.
        switch(strval(params))

 1127.
        {

 1128.
        case 1: PlayAnimEx(playerid, "SUNBATHE", "batherdown", 4.1, 0, 1, 1, 1, 1, 1);

 1129.
        case 2: PlayAnimEx(playerid, "SUNBATHE", "batherup", 4.1, 0, 1, 1, 1, 1, 1);

 1130.
        case 3: PlayAnimEx(playerid, "SUNBATHE", "Lay_Bac_in", 4.1, 0, 1, 1, 1, 1, 1);

 1131.
        case 4: PlayAnimEx(playerid, "SUNBATHE", "Lay_Bac_out", 4.1, 0, 1, 1, 1, 1, 1);

 1132.
        case 5: PlayAnimEx(playerid, "SUNBATHE", "ParkSit_M_IdleA", 4.1, 0, 1, 1, 1, 1, 1);

 1133.
        case 6: PlayAnimEx(playerid, "SUNBATHE", "ParkSit_M_IdleB", 4.1, 0, 1, 1, 1, 1, 1);

 1134.
        case 7: PlayAnimEx(playerid, "SUNBATHE", "ParkSit_M_IdleC", 4.1, 0, 1, 1, 1, 1, 1);

 1135.
        case 8: PlayAnimEx(playerid, "SUNBATHE", "ParkSit_M_in", 4.1, 0, 1, 1, 1, 1, 1);

 1136.
        case 9: PlayAnimEx(playerid, "SUNBATHE", "ParkSit_M_out", 4.1, 0, 1, 1, 1, 1, 1);

 1137.
        case 10: PlayAnimEx(playerid, "SUNBATHE", "ParkSit_W_idleA", 4.1, 0, 1, 1, 1, 1, 1);

 1138.
        case 11: PlayAnimEx(playerid, "SUNBATHE", "ParkSit_W_idleB", 4.1, 0, 1, 1, 1, 1, 1);

 1139.
        case 12: PlayAnimEx(playerid, "SUNBATHE", "ParkSit_W_idleC", 4.1, 0, 1, 1, 1, 1, 1);

 1140.
        case 13: PlayAnimEx(playerid, "SUNBATHE", "ParkSit_W_in", 4.1, 0, 1, 1, 1, 1, 1);

 1141.
        case 14: PlayAnimEx(playerid, "SUNBATHE", "ParkSit_W_out", 4.1, 0, 1, 1, 1, 1, 1);

 1142.
        case 15: PlayAnimEx(playerid, "SUNBATHE", "SBATHE_F_LieB2Sit", 4.1, 0, 1, 1, 1, 1, 1);

 1143.
        case 16: PlayAnimEx(playerid, "SUNBATHE", "SBATHE_F_Out", 4.1, 0, 1, 1, 1, 1, 1);

 1144.
        case 17: PlayAnimEx(playerid, "SUNBATHE", "SitnWait_in_W", 4.1, 0, 1, 1, 1, 1, 1);

 1145.
        case 18: PlayAnimEx(playerid, "SUNBATHE", "SitnWait_out_W", 4.1, 0, 1, 1, 1, 1, 1);

 1146.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sunbathe [1-18]");

 1147.
        }

 1148.
        return 1;

 1149.
}

 1150.


 1151.
CMD:lowrider(playerid, params[])

 1152.
{

 1153.
        if(!IsAbleVehicleAnimation(playerid)) return 1;

 1154.
        if(IsCLowrider(GetPlayerVehicleID(playerid)))

 1155.
        {

 1156.
                switch(strval(params))

 1157.
                {

 1158.
                case 1: PlayAnim(playerid, "LOWRIDER", "lrgirl_bdbnce", 4.1, 0, 1, 1, 1, 1, 1);

 1159.
                case 2: PlayAnim(playerid, "LOWRIDER", "lrgirl_hair", 4.1, 0, 1, 1, 1, 1, 1);

 1160.
                case 3: PlayAnim(playerid, "LOWRIDER", "lrgirl_hurry", 4.1, 0, 1, 1, 1, 1, 1);

 1161.
                case 4: PlayAnim(playerid, "LOWRIDER", "lrgirl_idleloop", 4.1, 0, 1, 1, 1, 1, 1);

 1162.
                case 5: PlayAnim(playerid, "LOWRIDER", "lrgirl_idle_to_l0", 4.1, 0, 1, 1, 1, 1, 1);

 1163.
                case 6: PlayAnim(playerid, "LOWRIDER", "lrgirl_l0_bnce", 4.1, 0, 1, 1, 1, 1, 1);

 1164.
                case 7: PlayAnim(playerid, "LOWRIDER", "lrgirl_l0_loop", 4.1, 0, 1, 1, 1, 1, 1);

 1165.
                case 8: PlayAnim(playerid, "LOWRIDER", "lrgirl_l0_to_l1", 4.1, 0, 1, 1, 1, 1, 1);

 1166.
                case 9: PlayAnim(playerid, "LOWRIDER", "lrgirl_l12_to_l0", 4.1, 0, 1, 1, 1, 1, 1);

 1167.
                case 10: PlayAnim(playerid, "LOWRIDER", "lrgirl_l1_bnce", 4.1, 0, 1, 1, 1, 1, 1);

 1168.
                case 11: PlayAnim(playerid, "LOWRIDER", "lrgirl_l1_loop", 4.1, 0, 1, 1, 1, 1, 1);

 1169.
                case 12: PlayAnim(playerid, "LOWRIDER", "lrgirl_l1_to_l2", 4.1, 0, 1, 1, 1, 1, 1);

 1170.
                case 13: PlayAnim(playerid, "LOWRIDER", "lrgirl_l2_bnce", 4.1, 0, 1, 1, 1, 1, 1);

 1171.
                case 14: PlayAnim(playerid, "LOWRIDER", "lrgirl_l2_loop", 4.1, 0, 1, 1, 1, 1, 1);

 1172.
                case 15: PlayAnim(playerid, "LOWRIDER", "lrgirl_l2_to_l3", 4.1, 0, 1, 1, 1, 1, 1);

 1173.
                case 16: PlayAnim(playerid, "LOWRIDER", "lrgirl_l345_to_l1", 4.1, 0, 1, 1, 1, 1, 1);

 1174.
                case 17: PlayAnim(playerid, "LOWRIDER", "lrgirl_l3_bnce", 4.1, 0, 1, 1, 1, 1, 1);

 1175.
                case 18: PlayAnim(playerid, "LOWRIDER", "lrgirl_l3_loop", 4.1, 0, 1, 1, 1, 1, 1);

 1176.
                case 19: PlayAnim(playerid, "LOWRIDER", "lrgirl_l3_to_l4", 4.1, 0, 1, 1, 1, 1, 1);

 1177.
                case 20: PlayAnim(playerid, "LOWRIDER", "lrgirl_l4_bnce", 4.1, 0, 1, 1, 1, 1, 1);

 1178.
                case 21: PlayAnim(playerid, "LOWRIDER", "lrgirl_l4_loop", 4.1, 0, 1, 1, 1, 1, 1);

 1179.
                case 22: PlayAnim(playerid, "LOWRIDER", "lrgirl_l4_to_l5", 4.1, 0, 1, 1, 1, 1, 1);

 1180.
                case 23: PlayAnim(playerid, "LOWRIDER", "lrgirl_l5_bnce", 4.1, 0, 1, 1, 1, 1, 1);

 1181.
                case 24: PlayAnim(playerid, "LOWRIDER", "lrgirl_l5_loop", 4.1, 0, 1, 1, 1, 1, 1);

 1182.
                case 25: PlayAnim(playerid, "LOWRIDER", "prtial_gngtlkB", 4.1, 0, 1, 1, 1, 1, 1);

 1183.
                case 26: PlayAnim(playerid, "LOWRIDER", "prtial_gngtlkC", 4.1, 0, 1, 1, 1, 1, 1);

 1184.
                case 27: PlayAnim(playerid, "LOWRIDER", "prtial_gngtlkD", 4.1, 0, 1, 1, 1, 1, 1);

 1185.
                case 28: PlayAnim(playerid, "LOWRIDER", "prtial_gngtlkE", 4.1, 0, 1, 1, 1, 1, 1);

 1186.
                case 29: PlayAnim(playerid, "LOWRIDER", "prtial_gngtlkF", 4.1, 0, 1, 1, 1, 1, 1);

 1187.
                case 30: PlayAnim(playerid, "LOWRIDER", "prtial_gngtlkG", 4.1, 0, 1, 1, 1, 1, 1);

 1188.
                case 31: PlayAnim(playerid, "LOWRIDER", "prtial_gngtlkH", 4.1, 0, 1, 1, 1, 1, 1);

 1189.
                default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /lowrider [1-31]");

 1190.
                }

 1191.
        }

 1192.
        else

 1193.
        {

 1194.
                SendClientMessage(playerid, COLOR_GRAD2, "This animation requires you to be in a convertible lowrider.");

 1195.
        }

 1196.
        return 1;

 1197.
}

 1198.


 1199.
CMD:carchat(playerid, params[])

 1200.
{

 1201.
        if(!IsAbleVehicleAnimation(playerid)) return 1;

 1202.
        switch(strval(params))

 1203.
        {

 1204.
        case 1: PlayAnim(playerid, "CAR_CHAT", "carfone_in", 4.1, 0, 1, 1, 1, 1, 1);

 1205.
        case 2: PlayAnim(playerid, "CAR_CHAT", "carfone_loopA", 4.1, 0, 1, 1, 1, 1, 1);

 1206.
        case 3: PlayAnim(playerid, "CAR_CHAT", "carfone_loopA_to_B", 4.1, 0, 1, 1, 1, 1, 1);

 1207.
        case 4: PlayAnim(playerid, "CAR_CHAT", "carfone_loopB", 4.1, 0, 1, 1, 1, 1, 1);

 1208.
        case 5: PlayAnim(playerid, "CAR_CHAT", "carfone_loopB_to_A", 4.1, 0, 1, 1, 1, 1, 1);

 1209.
        case 6: PlayAnim(playerid, "CAR_CHAT", "carfone_out", 4.1, 0, 1, 1, 1, 1, 1);

 1210.
        case 7: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc1_BL", 4.1, 0, 1, 1, 1, 1, 1);

 1211.
        case 8: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc1_BR", 4.1, 0, 1, 1, 1, 1, 1);

 1212.
        case 9: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc1_FL", 4.1, 0, 1, 1, 1, 1, 1);

 1213.
        case 10: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc1_FR", 4.1, 0, 1, 1, 1, 1, 1);

 1214.
        case 11: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc2_FL", 4.1, 0, 1, 1, 1, 1, 1);

 1215.
        case 12: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc3_BR", 4.1, 0, 1, 1, 1, 1, 1);

 1216.
        case 13: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc3_FL", 4.1, 0, 1, 1, 1, 1, 1);

 1217.
        case 14: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc3_FR", 4.1, 0, 1, 1, 1, 1, 1);

 1218.
        case 15: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc4_BL", 4.1, 0, 1, 1, 1, 1, 1);

 1219.
        case 16: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc4_BR", 4.1, 0, 1, 1, 1, 1, 1);

 1220.
        case 17: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc4_FL", 4.1, 0, 1, 1, 1, 1, 1);

 1221.
        case 18: PlayAnim(playerid, "CAR_CHAT", "CAR_Sc4_FR", 4.1, 0, 1, 1, 1, 1, 1);

 1222.
        case 19: PlayAnim(playerid, "CAR", "Sit_relaxed", 4.1, 0, 1, 1, 1, 1, 1);

 1223.
        //case 20: PlayAnim(playerid, "CAR", "Tap_hand", 4.1, 1, 0, 0, 0, 0, 1);

 1224.
        default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /carchat [1-19]");

 1225.
        }

 1226.
        return 1;

 1227.
}

Error

HTML Code:
C:\Users\mahmoud\Desktop\SAMP Server\pawno\new.pwn(21) : fatal error 100: cannot read from file: "zcmd"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
If you find the error tell me it .
Reply
#2

ZCMD
copie this on
PAWO --->INCLUDES
Reply
#3

you have to include zcmd in your pawn include folder
DOWNLOAD ZCMD HERE
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)