😎 Auto-dance script

Posts 1–15 of 15 Β· Page 1 of 1
😎 Auto-dance script
Not much to say here, it's an auto dance script.

Code:
function newcvar( Name, Str )
	Msg( "Auto-dance Loaded!" )
	CreateClientConVar( Name, Str, true, false )
end

newcvar( "auto_dance", 1 )


function dance()
if GetConVarNumber( "auto_dance" ) == 1 then
RunConsoleCommand( "act", "dance" )
end
end
hook.Add( "Think", "dance", dance )
how do you use this, do you toggle it? or is it gonna keep on till i rejoin the server or join another server?
Quote Originally Posted by kila58 View Post
Not much to say here, it's an auto dance script.

Code:
function newcvar( Name, Str )
	Msg( "Auto-dance Loaded!" )
	CreateClientConVar( Name, Str, true, false )
end

newcvar( "auto_dance", 1 )


function dance()
if GetConVarNumber( "auto_dance" ) == 1 then
RunConsoleCommand( "act", "dance" )
end
end
hook.Add( "Think", "dance", dance )
what a quality code
Quote Originally Posted by snixzz8 View Post
what a quality code
It is lol.
Best dance script across the land.
lol my hack already has this
Quote Originally Posted by iMythik View Post
lol my hack already has this
Had no idea lol, I came up with the idea when I was in gmodZ.
Quote Originally Posted by kila58 View Post
Had no idea lol, I came up with the idea when I was in gmodZ.
Which gmodz server? bypassing DAZ was easy but an admin banned me about 5 mins later.
Sad life. Gmodz
Quote Originally Posted by kila58 View Post
Not much to say here, it's an auto dance script.

Code:
function newcvar( Name, Str )
	Msg( "Auto-dance Loaded!" )
	CreateClientConVar( Name, Str, true, false )
end

newcvar( "auto_dance", 1 )


function dance()
if GetConVarNumber( "auto_dance" ) == 1 then
RunConsoleCommand( "act", "dance" )
end
end
hook.Add( "Think", "dance", dance )
why is only part of the code tabbed?
oh, right.
because you had to paste even the simplest script
Doesn't really matter if it's tabbed or not, that's only convenient if someone else is to read your code.
Or rather, call it a personal preference.
Quote Originally Posted by Gray View Post
Doesn't really matter if it's tabbed or not, that's only convenient if someone else is to read your code.
Or rather, call it a personal preference.
I think he was getting at the fact that the top half was tabbed, and the core code being used isn't. He was implying that the bottom half is c+p'ed
Quote Originally Posted by LordOfGears2 View Post
I think he was getting at the fact that the top half was tabbed, and the core code being used isn't. He was implying that the bottom half is c+p'ed
I know that's what he meant, but that's not really valid proof.
Maybe he phoned it in and just didn't care about tabbing that part.



Code:
timer.Create("animating", 2, 0, function() RunConsoleCommand("_DarkRP_DoAnimation", "1616") end)
Quote Originally Posted by scraatch View Post



Code:
timer.Create("animating", 2, 0, function() RunConsoleCommand("_DarkRP_DoAnimation", "1616") end)
that was patched a looooooooooooooooooooooooooooooooong time ago
Works for dark rp though
Posts 1–15 of 15 Β· Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us