Lua script to change name within the game!
Lua script to change name within the game!
This came with PPv12, I tested it and it works. It doesn't come with a toggle so to get your legit name back you have to restart the game or try adding a toggle yourself. I'll try doing it later if no one else is up for the task.
Code:
--SET PERMANENT SPOOF NAME function NetworkAccountSTEAM:username_id() return "Master Bates" end -- FOR JSON PERSIST persistentSPOOF = 0
Oh and enjoy 

Oh man thanks very much! I'll see later if I can work on getting a toggle in there, but this'll do for now until I get free time again!
Actually I was looking at that x-ray post script you posted, and I was thinking can't you just use the same toggle part..
of course changing some things, sorry I'm not a lua person, I'm barely learning java xD
so then I guess we can try to do
lol, its just a wild guess, and I should try it first, but I'm kinda multi tasking here doing both my programming homework and this :c will check in a bit to see if it works
edit: doesn't work lol will fix it later, but I was getting
changename.lua:8: attempt to index global 'GameSetup' (a nil value)
Code:
if not _markingToggle then _marktoggle = nil _markingToggle = true
else _markingToggle = nil
end
if not _gameUpdate then _gameUpdate = GameSetup.update
end
do
local _gameUpdateLastMark
function GameSetup:update( t, dt )
_gameUpdate(self, t, dt)
_gameUpdateLastMark = t
if _markingToggle then
mark_enemies()
else
if not _marktoggle then
_marktoggle = true
for u_key,u_data in pairs(managers.enemy:all_enemies()) do
u_data.unit:contour():remove( "mark_enemy" )
end
for u_key,u_data in pairs(managers.enemy:all_civilians()) do
u_data.unit:contour():remove( "mark_enemy" )
end
end
end
end
end
so then I guess we can try to do
Code:
if not _markingToggle then _marktoggle = nil _markingToggle = true
else _markingToggle = nil
end
if not _gameUpdate then _gameUpdate = GameSetup.update
end
do
local _gameUpdateLastMark
function GameSetup:update( t, dt )
_gameUpdate(self, t, dt)
_gameUpdateLastMark = t
if _markingToggle then
NetworkAccountSTEAM:username_id()
else
if not _marktoggle then
_marktoggle = true
for u_key,u_data in pairs(NetworkAccountSTEAM:username_id()) do
u_data.unit:contour():remove( "Master Bates" )
end
end
end
end
end
edit: doesn't work lol will fix it later, but I was getting
changename.lua:8: attempt to index global 'GameSetup' (a nil value)
This thread is closed for replies.
Similar Threads
K.O.S. Secret Operation HacksAnybody knows how to change name between the game?GR 0 Call of Duty Black Ops HelpHow to change my name in the game?
3 Combat Arms Hack RequestsHello my name in the game is kick_hasNI 2 Minecraft HelpChange name of the original version
6 Call of Duty Modern Warfare 2 GSC Modding Help/DiscussionChange the game type name that appears in server list and loading screenRA 16
