Jump to content

More Commands!


Recommended Posts

I've seen a chat command called /invisible being used, but I don't know if thats an existing command for admins or a mod command.

In console you will probably want to do this: local player = AllPlayers[number]; player:Hide(); player.DynamicShadow:Enable(false); player.MiniMapEntity:SetIcon("none")

if you want to just do this to yourself, make AllPlayers[] into ThePlayer. 

To unhide do this: local player = AllPlayers[number]; player:Show(); player.DynamicShadow:Enable(true); player.MiniMapEntity:SetIcon("the file name, for official characters it will be things like "wilson.tex" or "wilson.png")

 

1 hour ago, DarkKingBoo said:

I've seen a chat command called /invisible being used, but I don't know if thats an existing command for admins or a mod command.

In console you will probably want to do this: local player = AllPlayers[number]; player:Hide(); player.DynamicShadow:Enable(false); player.MiniMapEntity:SetIcon("none")

if you want to just do this to yourself, make AllPlayers[] into ThePlayer. 

To unhide do this: local player = AllPlayers[number]; player:Show(); player.DynamicShadow:Enable(true); player.MiniMapEntity:SetIcon("the file name, for official characters it will be things like "wilson.tex" or "wilson.png")

 

 

Would that prevent the user's name from appearing if someone moused over them?

Yes, you will be immune to being highlighted by the mouse pointer and all other effects of the mouse pointer. People might be able to use space or cntrl+F to perform actions on you. But if you don't want people to target you then do this in console: ThePlayer:AddTag("notarget") .

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...