What's new

Solved [Help] CoD4 Instant last scripts

I

Imgunz

Newbie
Messages
5
Reaction score
0
Points
35
Sin$
7
Does anyone know the scripts for TDM instant last and FFA instant last? I've looked around for a few days now and still haven't found any. Im working on a menu and anyone who can help would be greatly appreciated.
 
1337tehLOLZ

1337tehLOLZ

Enthusiast
Messages
77
Reaction score
3
Points
55
Sin$
7
Does anyone know the scripts for TDM instant last and FFA instant last? I've looked around for a few days now and still haven't found any. Im working on a menu and anyone who can help would be greatly appreciated.
Well it took me a while. I had to look through the dumps for it. But i did manage to put one together. Let me explain how this works. :smile:

Code:
TestforLast() //registerScoreLimitDvar( dvarString, defaultValue, minValue, maxValue )
{
    maps\mp\gametypes\_globallogic::registerScoreLimitDvar( level.gameType, 1, 0, 10 );
    self iPrintln("^2You're now on last!");
}

What this code does is set the score limit, on whatever game type you're on. The "10" will set it as it is the Maxvalue. (Arguments are above commented out) So if you use it now, the score limit WILL be ten. You'll be on last. Only one kill!

I would like one thing in return though. What Patch editor are you using? I would like to know since i'm trying to find a good working one for Xbox. Will be appreciated!
 
Upvote 0
Top Bottom
Login
Register