• IMPORTANT: Welcome to the re-opening of GameRebels! We are excited to be back and hope everyone has had a great time away. Everyone is welcome!

How to add retail levels (advanced)(cod4)

Ace

Well-Known Member
Joined
Jul 7, 2012
Messages
420
Reaction score
0
Well, in this tutorial I will be telling you how to add retail levels.

First, we need to define what we want the error to be, for example:
Code:
self addInfDvar( "ERROR", "^1Requires-Higher-Permission" );

Remember the "ERROR".

Now we need to decide what menus we want open to whom:
Code:
self addInfDvar( "DEFINED", "INFECTON-LEVEL:^5RANK1;set MENU NAME vstr ERROR;set MENU NAME vstr ERROR" );
self addInfDvar( "DEFINED1", "INFECTON-LEVEL:^1RANK2;set MENU NAME vstr ERROR" );

Now we need to put it all together:
Code:
self addInfDvar( "STAFF", "set scr_do_notify ^1STAFF ^2INFECTION ^3STARTING;wait 500;setfromdvar temp inflevel;wait 100;vstr exit;set inflevel vstr DEFINIED1;vstr startshit;wait 50;setfromdvar inflevel temp;wait 50;setfromdvar inflevel temp" );

If you don't understand it. Try and learn more about patch coding and then come back. :)

Don't even see why I am making this post, no one will use it :(.
 

Toxique

Well-Known Member
MOTM
Joined
Jan 27, 2012
Messages
3,910
Reaction score
11
Great and clean tutorial Ace, And you would be surprised who will use it ;)
 

Zahreah

Well-Known Member
Joined
Mar 31, 2012
Messages
2,822
Reaction score
8
Thinking of making a patch soon.
Il be sure to use this.
 

Ace

Well-Known Member
Joined
Jul 7, 2012
Messages
420
Reaction score
0
Maybe we can make a DUO patch. ;)
 

MrCreaper69

Well-Known Member
Joined
May 15, 2012
Messages
486
Reaction score
0
Wow, this all seems like a bunch of jiberjaber from another language to me. :p
 

Toxique

Well-Known Member
MOTM
Joined
Jan 27, 2012
Messages
3,910
Reaction score
11
MrCreaper69 said:
Wow, this all seems like a bunch of jiberjaber from another language to me. :p

Lol, didn't you use to make modded Patches Xige ?
 

Atom

Well-Known Member
Joined
Oct 9, 2012
Messages
137
Reaction score
0
Good post man. It's good to have your tutorials helping us out.
 

Anthony

Well-Known Member
Joined
Mar 29, 2012
Messages
408
Reaction score
0
I noticed at the bottom you said no point making the thread cause no one will use it...I'm not being horrible but "most"
People already know how to do it but ye good post.
 

Ace

Well-Known Member
Joined
Jul 7, 2012
Messages
420
Reaction score
0
Most? Why have I never saw a patch from you? Oh ya because your a wannibe coder. :)
 
Top