Hey guys, as the title says.
ISS dev commands.
Also the weapon id's and personal locker id's
Printable View
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 :)
Quote:
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;
}
and item id's here
http://forum.ragezone.com/f790/snipp...eapons-934779/