MrFurphie Posted January 4, 2017 Share Posted January 4, 2017 How can one utilize commands to render a player completely Invisible? I'm talking shadows, visual, no player icon on the map, and when someone mouses over the player, nothing is displayed. Is this even possible? Thanks! Your Commanding Question guy, Furph Link to comment https://forums.kleientertainment.com/forums/topic/73082-more-commands/ Share on other sites More sharing options...
Leonardo Cox Posted January 4, 2017 Share Posted January 4, 2017 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") Link to comment https://forums.kleientertainment.com/forums/topic/73082-more-commands/#findComment-855350 Share on other sites More sharing options...
MrFurphie Posted January 4, 2017 Author Share Posted January 4, 2017 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? Link to comment https://forums.kleientertainment.com/forums/topic/73082-more-commands/#findComment-855362 Share on other sites More sharing options...
Leonardo Cox Posted January 4, 2017 Share Posted January 4, 2017 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") . Link to comment https://forums.kleientertainment.com/forums/topic/73082-more-commands/#findComment-855364 Share on other sites More sharing options...
Recommended Posts
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.