/Moved to GSC modding help.
3rd Person View And 1st Person View
In cod4 mw if you add this code at _globallogic.gsc
you can swap from 3rd Person to 1st with right click
bottom of spanwplayer:
Code:
add this function to the _globallogic script:Code:self setClientDvar("cg_thirdPerson", 1); self thread thirdPersonADS();
Code:
exCode:thirdPersonADS() // called from spawnePlayer() { self endon( "killed_player" ); self endon( "joined_spectators" ); self endon( "disconnect" ); lastAds = false; while (isPlayer(self) && self.sessionstate == "playing") { wait .05; curAds = self playerAds(); if (curAds && curAds != lastAds) self setClientDvar("cg_thirdPerson", 0); else if (!curAds && curAds != lastAds) { if (!self meleeButtonPressed()) self setClientDvar("cg_thirdPerson", 1); } lastAds = curAds; } }
it works also fine with waw but in Black ops where ever i put the code _rank or _globallogic it doesn't work, can someone please help, i wan't to use it for bot mod "BOLoader07". Thanks a lot for any help.
Last edited by kostasishere; 02-07-2011 at 01:41 AM.
/Moved to GSC modding help.
CoD Minion: Jan 13th 2011 to April 11 2011
MMORPG Minion Since: March 28th 2011 to April 11 2011
Don't be afraid to rep, you aren't loosing anything!
Don't forget your P&Q's. Press the thanks button if someone has helped.
jamesa1994@hotmail.com
any errors? also for sessionstate try gamestate?
cg_thirdperson is dead
kostasishere (02-08-2011)
No it's not, works when I type this into the console:
/toggle cg_thirdperson 1
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]