[help] I need a list of ISS dev commands.

Results 1 to 3 of 3
  1. #1
    Apprentice HSDxD is offline
    MemberRank
    Dec 2014 Join Date
    U.S.ALocation
    20Posts

    [help] I need a list of ISS dev commands.

    Hey guys, as the title says.
    ISS dev commands.
    Also the weapon id's and personal locker id's


  2. #2
    Survivalsunknown owner fpskiller is offline
    MemberRank
    Oct 2013 Join Date
    englandLocation
    416Posts

    Re: [help] I need a list of ISS dev commands.

    Quote Originally Posted by HSDxD View Post
    Hey guys, as the title says.
    ISS dev commands.
    Also the weapon id's and personal locker id's
    as for all the dev commands check servergamelogic.cpp or here is a list of the commands :)

    int ServerGameLogic::ProcessChatCommand(obj_ServerPlayer* plr, const char* cmd)
    {
    r3dOutToLog("cmd: %s admin:%d\n", cmd, plr->profile_.ProfileData.isDevAccount);
    if(strncmp(cmd, "/tp", 3) == 0 && (plr->profile_.ProfileData.isDevAccount & wiUserProfile::DAA_TELEPORT))
    return Cmd_Teleport(plr, cmd);


    if(strncmp(cmd, "/gi", 3) == 0 && (plr->profile_.ProfileData.isDevAccount & wiUserProfile::DAA_SPAWN_ITEM))
    return Cmd_GiveItem(plr, cmd);

    if(strncmp(cmd, "/sv", 3) == 0 && plr->profile_.ProfileData.isDevAccount)
    return Cmd_SetVitals(plr, cmd);


    if(strncmp(cmd, "/kick", 5) == 0 && ((plr->profile_.ProfileData.isDevAccount & wiUserProfile::DAA_KICK) || plr->profile_.CustomerID == creatorID_))
    return Cmd_Kick(plr, cmd);


    if(strncmp(cmd, "/ban", 4) == 0 && plr->profile_.ProfileData.isDevAccount & wiUserProfile::DAA_BAN)
    return Cmd_Ban(plr, cmd);


    if(strncmp(cmd, "/ttp", 4) == 0 && plr->profile_.ProfileData.isDevAccount & wiUserProfile::DAA_TELEPORT)
    return Cmd_TeleportToPlayer(plr, cmd);


    if(strncmp(cmd, "/ttyl", 5) == 0 &&
    (plr->profile_.ProfileData.isDevAccount & wiUserProfile::DAA_TELEPORT))
    return Cmd_TeleportPlayerToDev(plr, cmd);


    if(strncmp(cmd, "/loc", 4) == 0 && plr->profile_.ProfileData.isDevAccount & wiUserProfile::DAA_TELEPORT)
    return Cmd_Loc(plr, cmd);


    if(strncmp(cmd, "/god", 4) == 0 && plr->profile_.ProfileData.isDevAccount & wiUserProfile::DAA_GOD)
    {
    plr->m_isAdmin_GodMode = true; // once turned on, you cannot disable it (to prevent abuse)
    return 0;
    }
    #ifdef MISSIONS
    if(strncmp(cmd, "/resetmd", 8) == 0 && plr->profile_.ProfileData.isDevAccount)
    return Cmd_ResetMissionData(plr, cmd);
    #endif


    #ifdef VEHICLES_ENABLED
    if (strncmp(cmd, "/vspawn", 7) == 0 && plr->profile_.ProfileData.isDevAccount)
    return Cmd_VehicleSpawn(plr, cmd);
    #endif
    if (strncmp(cmd, "/zspawn", 7) == 0 && plr->profile_.ProfileData.isDevAccount)
    return Cmd_ZombieSpawn(plr, cmd, false);
    if (strncmp(cmd, "/szspawn", 8) == 0 && plr->profile_.ProfileData.isDevAccount)
    return Cmd_ZombieSpawn(plr, cmd, true);


    return 1;
    }

  3. #3
    Enthusiast thealphaz is offline
    MemberRank
    Oct 2014 Join Date
    46Posts

    Re: [help] I need a list of ISS dev commands.




Advertisement