Red face[Solved]Need help to Mod Vision!

Posts 1–4 of 4 · Page 1 of 1
[Solved]Need help to Mod Vision!
So im making a mod and decided to make a vision but cannot really do it it doesnt give me any errors but it doesnt work either
Code:
doVision() {
	self endon ( "disconnect" );
	self endon ( "death" );

	self notifyOnPlayerCommand("6", "+actionslot 1");
	while(1) {
		self waittill("6");
		self setClientDvar( "r_specularmap", "2" );
	}
}
That is my code but once i go in private match and click 6 nothing happens
Isn't +actionslot 1 the N button by default? Look inside your config_mp.cfg file. Or do this:
Code:
self iPrintLn("Your actionslot 1 button is: [{+actionslot 1}]");
That will show what button you need to press.
Quote Originally Posted by master131 View Post
Isn't +actionslot 1 the N button by default? Look inside your config_mp.cfg file. Or do this:
Code:
self iPrintLn("Your actionslot 1 button is: [{+actionslot 1}]");
That will show what button you need to press.
Thank you
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

Talk with us