Page 1 of 1

noclip for 1 player on server ?

Posted: February 21st, 2011, 3:52 am
by denzil3009
Is it possible to turn on noclip for just a single player ?

I have been trying to get this working but it turns it on for the whole server. I have also tried modding some scripts i have seen, but with no luck.

Does anybody know how to do this ? Is it even possible ?

If its not possible to have noclip for a single player, is there a script that will do the same sort of thing ?


Thank you in advance :)

Re: noclip for 1 player on server ?

Posted: February 21st, 2011, 7:03 am
by Shinryu
Hmm. Really. I just go to a devmap'd server and put noclip in the console :) works fine.

Re: noclip for 1 player on server ?

Posted: February 21st, 2011, 12:15 pm
by denzil3009
Shinryu wrote:Hmm. Really. I just go to a devmap'd server and put noclip in the console :) works fine.

Didnt help at all, because then any player in the server could do this........

Re: noclip for 1 player on server ?

Posted: February 21st, 2011, 12:55 pm
by MasterThomy
Well I have a script that functions as a kind of noclip (pressing Use moves you a little in the direction you are facing...), and it's for CoD2. I don't know if thats any good for you.

Re: noclip for 1 player on server ?

Posted: February 21st, 2011, 1:38 pm
by denzil3009
MasterThomy wrote:Well I have a script that functions as a kind of noclip (pressing Use moves you a little in the direction you are facing...), and it's for CoD2. I don't know if thats any good for you.

Yes that sounds like just what i need, if you dont mind could you post it ?

Thanks

Re: noclip for 1 player on server ?

Posted: February 22nd, 2011, 12:00 pm
by megazor

Code: Select all

main()
{
	thread lol();
}

lol()
{
	players = getEntArray("player", "classname");
	for (i = 0; i < players.size; i++)
		if (isDefined(players[i].sessionstate) && players[i].sessionstate == "playing" && players[i] useButtonPressed() && !isDefined(players[i].noclip))
			players[i] thread omg();
	wait .1;
	thread lol();
}

omg()
{
	self.noclip = 1;
	rofl = 0;
	wait .05;
	while (isPlayer(self) && self useButtonPressed())
	{
		rofl++;
		if (rofl == 10)
			break;
		wait .05;
	}

	if (rofl == 10)
		while (isPlayer(self) && self useButtonPressed())
		{
			angles = self getPlayerAngles();
			vector = anglesToForward(angles);
			vector = maps\mp\_utility::vectorScale(vector, 100);	//this function might have a different name
			self moveTo(self.origin+vector, 1);
			wait 1;
		}
	
	if (isPlayer(self))
		self.noclip = undefined;
}

Re: noclip for 1 player on server ?

Posted: April 28th, 2011, 7:06 am
by Badeendnl
This isn't a advertising community......

Re: noclip for 1 player on server ?

Posted: April 28th, 2011, 10:41 am
by BeZZo
Badeendnl wrote:This isn't a advertising community......
:?:

Re: noclip for 1 player on server ?

Posted: April 28th, 2011, 12:43 pm
by Badeendnl
Never mind the post with the advertising stuff has allready been removed

Re: noclip for 1 player on server ?

Posted: April 28th, 2011, 1:52 pm
by Badeendnl
K i will remind that:)

Re: noclip for 1 player on server ?

Posted: August 21st, 2011, 4:22 pm
by Alex
That's why we ask people not to reply to bots but to just ignore them until removed 8)


I think this is the best way. :twisted: