Animations Problem

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hey
    Warum gehen ingame die Animationen nicht?
    new MakeAnimation[MAX_PLAYERS];


    // Drunk
    if(strcmp(cmd, "/drunk", true) == 0) {
    ApplyAnimation(playerid,"PED","WALK_DRUNK",4.0,1,1,1,1,0);
    MakeAnimation[playerid] = 1;
    return 1;
    }


    // Place a Bomb
    if (strcmp("/bomb", cmdtext, true) == 0) {
    ClearAnimations(playerid);
    ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); // Place Bomb
    MakeAnimation[playerid] = 1;
    return 1;
    }
    if (strcmp("/swim", cmdtext, true) == 0) {
    ClearAnimations(playerid);
    ApplyAnimation(playerid, "SWIM", "Swim_Breast", 4.0, 0, 0, 0, 0, 0); // Place Bomb
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Police Arrest
    if (strcmp("/getarrested", cmdtext, true, 7) == 0) {
    ApplyAnimation(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1); // Gun Arrest
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Laugh
    if (strcmp("/laugh", cmdtext, true) == 0) {
    ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0); // Laugh
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Rob Lookout
    if (strcmp("/lookout", cmdtext, true) == 0) {
    ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0); // Rob Lookout
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Rob Threat
    if (strcmp("/robman", cmdtext, true) == 0) {
    ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0); // Rob
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Arms crossed
    if (strcmp("/crossarms", cmdtext, true) == 0) {
    ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1); // Arms crossed
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Lay Down
    if (strcmp("/lay", cmdtext, true, 6) == 0) {
    ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); // Lay down
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Take Cover
    if (strcmp("/hide", cmdtext, true, 3) == 0) {
    ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0); // Taking Cover
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Vomit
    if (strcmp("/vomit", cmdtext, true) == 0) {
    ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); // Vomit BAH!
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Eat Burger
    if (strcmp("/eat", cmdtext, true) == 0) {
    ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); // Eat Burger
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Wave
    if (strcmp("/wave", cmdtext, true) == 0) {
    ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0); // Wave
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Slap Ass
    if (strcmp("/slapass", cmdtext, true) == 0) {
    ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0); // Ass Slapping
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Dealer
    if (strcmp("/deal", cmdtext, true) == 0) {
    ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0); // Deal Drugs
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Crack Dieing
    if (strcmp("/crack", cmdtext, true, 6) == 0) {
    ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); // Dieing of Crack
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Male Smoking
    if (strcmp("/smokem", cmdtext, true, 4) == 0) {
    ApplyAnimation(playerid,"SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0); // Smoke
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Female Smoking
    if (strcmp("/smokef", cmdtext, true) == 0) {
    ApplyAnimation(playerid, "SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0); // Female Smoking
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Sit
    if (strcmp("/groundsit", cmdtext, true, 4) == 0) {
    ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0); // Sit
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Idle Chat
    if(strcmp(cmd, "/chat", true) == 0) {
    ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // Fucku
    if(strcmp(cmd, "/fucku", true) == 0) {
    ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
    MakeAnimation[playerid] = 1;
    return 1;
    }
    // TaiChi
    if(strcmp(cmd, "/taichi", true) == 0) {
    ApplyAnimation(playerid,"PARK","Tai_Chi_Loop",4.0,1,0,0,0,0);
    MakeAnimation[playerid] = 1;
    return 1;
    }


    // ChairSit
    if(strcmp(cmd, "/chairsit", true) == 0) {
    ApplyAnimation(playerid,"BAR","dnk_stndF_loop",4.0,1,0,0,0,0);
    MakeAnimation[playerid] = 1;
    return 1;
    }


    Danke im vorraus.