Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client.add_callback("create_move", function(cmd)
- for i=1, globals.get_maxclients() do
- local ent = entitylist.get_player_by_index(i)
- local player = entitylist.entity_to_player(ent)
- if ent == nil then goto continue end
- if player:get_dormant() then goto continue end
- ent:set_prop_bool("CBaseEntity", "m_bSpotted", true)
- ::continue::
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement