Why doesn't this script work when I join a server?
Code
[LUA]
if CLIENT then
LocalPlayer():ChatPrint("cake loaded...")
function toggle_cake()
end
function cake()
end
concommand.Add("t_cake", toggle_cake)
hook.Add("Think","cake",cake)
end
[/LUA]
-snip-
One can enumerate an infinite amount of reasons why it doesn't work. One of which is that you're trying to join the server with a Lego brick having the script written on the side in tiny letters.
I'm going to pick one reason from this infinite set and guess that the server has sv_allowcslua set to 0. You can't run any clientside scripts on servers that have that.
[QUOTE=FPtje;38396061]One can enumerate an infinite amount of reasons why it doesn't work. One of which is that you're trying to join the server with a Lego brick having the script written on the side in tiny letters.
I'm going to pick one reason from this infinite set and guess that the server has sv_allowcslua set to 0. You can't run any clientside scripts on servers that have that.[/QUOTE]
Yes I thought that this was the reason too...
Well at least I know that this is the problem, thanks.
Also, just a hint, don't try to get further supports regarding aimbots or "hacks" on FP, just not a good idea.
[QUOTE=Wizard of Ass;38396194]Also, just a hint, don't try to get further supports regarding aimbots or "hacks" on FP, just not a good idea.[/QUOTE]
Yes I'm going to remove the code now because of mingebags whose want to use this. And it was only for testing stuff because I'm new to LUA. Well, have a nice day.
Sorry, you need to Log In to post a reply to this thread.