Skip to content

Making a console command

Hyeon-Cheol Cho edited this page Aug 12, 2016 · 2 revisions
class YourPC extends PlayerController {
  GodMode(args/*string*/) /*Exec*/ {
    console.log("YOU ARE A GOD", args)
  }
}

let YourPC_C = require('uclass')()(global.YourPC)
Root.GetOuter().PlayerControllerClass = YourPC_C
Clone this wiki locally
You can’t perform that action at this time.