Jump to content

Galet

Premium
  • Posts

    1384
  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    0%

Posts posted by Galet

  1. if (ch->GetGMLevel() == GM_IMPLEMENTOR) // check if GM is Implementor
    
        else if (ch->GetGMLevel() == GM_HIGH_WIZARD) // if not, check if GM is HW
        else if (ch->GetGMLevel() == GM_LOW_WIZARD) // if not, check if GM is LW
        else if (ch->GetGMLevel() == GM_GOD) // if not, check if GM is God
    
    switch(ch->GetGMLevel() ) { // Put the switch of GetGMLevel()
    
    case GM_IMPLEMENTOR: // if GetGMLevel() is marked as Implementor (first check) then :
            strlcpy(buf, LC_TEXT("Implementor"), sizeof(buf));
            std::string staff_color = "|cFFFFC700|H|h[";
            staff_color += buf;
            staff_color += "]|cFFA7FFD4|H|h";
            sprintf(chatbuf_global, "%s %s", staff_color.c_str(), chatbuf);
    
    case GM_HIGH_WIZARD: // if GetGMLevel() is marked as HW (first check) then :
            strlcpy(buf, LC_TEXT("High"), sizeof(buf));
            std::string staff_color = "|cFFFFC700|H|h[";
            staff_color += buf;
            staff_color += "]|cFFA7FFD4|H|h";
            sprintf(chatbuf_global, "%s %s", staff_color.c_str(), chatbuf);
    }
    
  2.     if (ch->GetGMLevel() == GM_IMPLEMENTOR)
        {
            strlcpy(buf, LC_TEXT("Implementor"), sizeof(buf));
            std::string staff_color = "|cFFFFC700|H|h[";
            staff_color += buf;
            staff_color += "]|cFFA7FFD4|H|h";
            sprintf(chatbuf_global, "%s %s", staff_color.c_str(), chatbuf);
        }
        else if (ch->GetGMLevel() == GM_HIGH_WIZARD)
        {
            strlcpy(buf, LC_TEXT("High Wizard"), sizeof(buf));
            std::string staff_color = "|cFFFFC700|H|h[";
            staff_color += buf;
            staff_color += "]|cFFA7FFD4|H|h";
            sprintf(chatbuf_global, "%s %s", staff_color.c_str(), chatbuf);
        }
     
     
    It could be like this
  3. Now I have returned the original treatment I had and still

    Boot: shop table size error

    @SamuR f***k you. For bug core.

     

    He release something and you insult him... His tutorial is correct, I'm pretty sure. If you doing something wrong, it's your fault.

     

    And you still can reverse the tutorial (use original files).

    • Love 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.