Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Some guidance? src 1.5 (Readme Wizkidje)

Initiate Mage
Joined
Mar 2, 2013
Messages
33
Reaction score
0
Hello I would like to put a command to Command To Pull Massive Cigars staff will be posted here in ragezone?


- Spanish.
 
Last edited:
Praise the Sun!
Member
Joined
Dec 4, 2007
Messages
2,502
Reaction score
986
Re: Some guidance? src 1.5

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 ?
 
Upvote 0
Praise the Sun!
Member
Joined
Dec 4, 2007
Messages
2,502
Reaction score
986
Re: Some guidance? src 1.5

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;
        }
    }
}
 
Upvote 0
Initiate Mage
Joined
Mar 2, 2013
Messages
33
Reaction score
0
Re: Some guidance? src 1.5

Ok it proves Friend :)

Friend the command does not work :´(
 
Upvote 0
Back
Top