Some guidance? src 1.5 (Readme Wizkidje)

Results 1 to 5 of 5
  1. #1
    Enthusiast ZohanGP is offline
    MemberRank
    Mar 2013 Join Date
    39Posts

    Cool Some guidance? src 1.5 (Readme Wizkidje)

    Hello I would like to put a command to Command To Pull Massive Cigars staff will be posted here in ragezone?


    - Spanish.
    Last edited by ZohanGP; 03-03-13 at 01:06 AM.


  2. #2
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: Some guidance? src 1.5

    Quote Originally Posted by ZohanGP View Post
    Hello I would like to put a command to Command To Pull Massive Cigars staff will be posted here in ragezone?


    - Spanish.
    You're planning on putting massive cigars in staff members ?

  3. #3
    Enthusiast ZohanGP is offline
    MemberRank
    Mar 2013 Join Date
    39Posts

    Re: Some guidance? src 1.5

    Quote Originally Posted by Wizkidje View Post
    You're planning on putting massive cigars in staff members ?
    yes, know how?

  4. #4
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: Some guidance? src 1.5

    Quote Originally Posted by ZohanGP View Post
    yes friend.
    All right, here you go:

    ZChat_Cmds.cpp line 95

    Code:
    void ChatCmd_AdminPutSigar(const char* line, const int argc, char **const argv);
    ZChat_Cmds.cpp line 190

    Code:
        _CC_AC("sigar",                            &AdminPutSigar,                            CCF_ADMIN|CCF_GAME, ARGVNoMin, 1, true, "/sigar <player>", "");
    ZChat_Cmds.cpp line 1172

    Code:
    void ChatCmd_AdminTeleport(const char* line, const int argc, char **const argv) {
        if (argc < 2)
        {
            ZChatOutput("Usage: /sigar <player>", ZChat::CMT_SYSTEM);
            return;
        }
        
        for (ZCharacterManager::iterator itor = ZGetCharacterManager()->begin(); itor != ZGetCharacterManager()->end(); ++itor) {
            ZCharacter* pCharacter = (ZCharacter*)(*itor).second;
            char* szPlayerName = argv[1];
    
            if(strcmp(pCharacter->GetUserName(), szPlayerName) == 0)
            {
                ZChatOutput("Put the sigar right in!");
                break;
            }
        }
    }

  5. #5
    Enthusiast ZohanGP is offline
    MemberRank
    Mar 2013 Join Date
    39Posts

    Re: Some guidance? src 1.5

    Ok it proves Friend :)

    Friend the command does not work :´(



Advertisement