- Messages
- 5,093
- Reaction score
- 2,881
- Points
- 1,103
Hi everyone,
in this small thread you will found out how to disable the cheat commands (god, noclip, give) on a custom map or gamemode, developed with the black ops 3 mod tools. Credits for the code are going to natesmithzombies, Koan and DidUknowiPwn! Thank you for sharing it!
Be sure to give credit if you are using this script.
Best regards,
CabCon !
in this small thread you will found out how to disable the cheat commands (god, noclip, give) on a custom map or gamemode, developed with the black ops 3 mod tools. Credits for the code are going to natesmithzombies, Koan and DidUknowiPwn! Thank you for sharing it!
- Navigate to your mapname.gsc. Example location: Call of Duty Black Ops III\usermaps\zm_mapname\scripts\zm
- Scroll to the very bottom of the script and paste this function there:
-
Code:
function disable_cheats() { ModVar( "god", 0 ); ModVar( "demigod", 0 ); ModVar( "noclip", 0 ); ModVar( "ufo", 0 ); ModVar( "give", 0 ); ModVar( "notarget", 0 ); }
- Go back to the top of your mapname.gsc and find this:
Code:function main() {
- Underneath that, add the following code:
Code:level disable_cheats();
Be sure to give credit if you are using this script.
Best regards,
CabCon !
Last edited: