Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. if CLIENT then
  2.     net.Start( "AIDS" )
  3.         if GetConVarNumber( "sv_cheats" ) ~= 0 then
  4.             net.WriteString( "HIVPOSITIVE" )
  5.         else
  6.             net.WriteString( "HIVNEGATIVE" )
  7.         end
  8.     net.SendToServer()
  9. end
  10.  
  11. if SERVER then
  12.     util.AddNetworkedString( "AIDS" )
  13.      net.Receive( "AIDS", function( l, c )
  14.          if net.ReadString() == "HIVPOSITIVE" then
  15.             print( c:Nick() .. " has an unsyched CVar." )
  16.          end
  17.      end )
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement