Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.64 KB | None | 0 0
  1. PRACCmod_version=0.1
  2. pos={}
  3. pos1={}
  4. pos2={}
  5.  
  6. function et_InitGame{levelTime,randomSeed,restart}
  7. et.trap_SendConsoleCommand{et.EXEC_NOW,"sets ^2Praccmod^s"..PRACCmod_version..""}
  8. et.trap_SendConsoleCommand{et.EXEC_NOW,"sets ^8#pracchardgopro on qnet"}
  9. end
  10.  
  11. function block{clientNum}
  12.     et.trap_SendServerCommand{ clientNum, "cp \"^1permission denied\n\""}
  13.     return 1
  14. end
  15.  
  16. function et_ClientCommand{ clientNum, command}
  17.     if command=="noclip" then
  18.          block{clientNum}
  19.          return 1
  20.      end
  21.          
  22.      if command=="god" then
  23.          block{clientNum}
  24.          return 1
  25.         end
  26.     if command=="nofatigue" then
  27.          block{clientNum}
  28.          return 1
  29.     end
  30. return 0
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement