Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   3rd Person For Servers (alliedassault.us/showthread.php?t=45197)

Jake2123 03-13-2005 07:23 PM

3rd Person For Servers
 
How Do You Make A Third Person Mod For servers? Heres The Code I Have Made. When I Try Putting In rcon 3rdp 1 Nothing Happens. Check The Code Tell Me What I Did Wrong.

_start:

if(level.alreadyrunning == 1)
{
end
}
level.alreadyrunning = 1
/////////////////////////////|
//////// CVARs //////////////|
/////////////////////////////|

level waittill spawn

setcvar "3rdp" "0"
setcvar "cheats" "1"
setcvar "thereisnomonkey" "1"

/////////////////////////////|
//////// 3rdp ///////////////|
/////////////////////////////|
3rdp:
while(1)
{
wait 10
local.player = $player
if (getcvar("3rdp") == "1")
{
local.player.scale = 1
wait .1
local.player stufftext ("cg_3rd_person 1")
}
if (getcvar("3rdp") == "1")
{
local.player scale "1"
wait .5
local.player stufftext ("cg_3rd_person 0")
}
}
end

Johnj 03-14-2005 04:40 AM

You do know that most players consider this to be a cheat.

Godsmack 03-14-2005 07:02 AM

I dont like it cuz you can see around walls with out moveing the player annoy: they know your coming but you cant see them

Scorpion -]M15F1T[- 03-14-2005 10:11 AM

If this is serverside which it seems to be then its not a cheat cos everyone can do it.
my scripting is poo but.
It looks like your last 2 parts of the script tell it to do the same thing

Also as far as i know stufftext goes to global chat and not to console which is needed to turn it on. My suggestion would be to look at the voodoo dolls script and see whats goin on there.


All times are GMT -6. The time now is 11:15 PM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.