Advertisement
Mister_Stefan

In-Game Radar Lua(LWv4)

Apr 9th, 2021
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. client.add_callback("create_move", function(cmd)
  2.     for i=1, globals.get_maxclients() do
  3.         local ent = entitylist.get_player_by_index(i)
  4.         local player = entitylist.entity_to_player(ent)
  5.        
  6.         if ent == nil then goto continue end      
  7.         if player:get_dormant() then goto continue end
  8.        
  9.         ent:set_prop_bool("CBaseEntity", "m_bSpotted", true)
  10.        
  11.         ::continue::
  12.     end
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement