LUA BLOCK NOCLIP
Moderators: Forum moderators, developers
-
- Posts: 47
- Joined: Sat Jan 14, 2006 6:31 am
LUA BLOCK NOCLIP
Post content removed
Last edited by BenMcDermott on Thu Jul 31, 2014 7:22 am, edited 1 time in total.
lua questions in modding forum pls
This thread should give you what you need
http://bani.anime.net/banimod/forums/vi ... php?t=6535
This thread should give you what you need
http://bani.anime.net/banimod/forums/vi ... php?t=6535
send lawyers, guns and money
-
- Posts: 47
- Joined: Sat Jan 14, 2006 6:31 am
Post content removed
Last edited by BenMcDermott on Thu Jul 31, 2014 7:22 am, edited 1 time in total.
You can use Infty's nokill.lua as an example and modify it to your needs. I guess this is what you are looking for:
Code: Select all
------------------------------------------------------------------------
-- noclip.lua
------------------------------------------------------------------------
function et_ClientCommand(client, command)
if string.lower(command) == "noclip" then
et.trap_SendServerCommand( client, "cp \"^1Noclip has been disabled.\n\"" )
return 1
end
end