• why this simple clientside hud dosent works?
    0 replies, posted
cl_NDK.lua source : [lua] //Notnow=0 SP=vgui.Create("DFrame") SP:SetPos(0,0) SP:SetSize(ScrW(),ScrH()) SP:SetVisible(true) SP:ShowCloseButton( false ) SP:SetDraggable( true ) SP:SetScreenLock( true ) SP:MakePopup(true) function SP:OnCursorMoved() //if Notnow == 0 then // Notnow=1 datastream.StreamToServer("SSHandler",{1}) timer.Simple(1,function() Notnow=0 end) //end end [/lua] I don't know whole basic of lua. please there must be big simple fault.
Sorry, you need to Log In to post a reply to this thread.