Help❗ Exception code

Posts 1–11 of 11 · Page 1 of 1
❗ Exception code
alter forums and my xfire friends fail so ive came to u guys coz u always help in the end so all i wanted to know is this code dusnt work and i wanted it to be fixed or any other way to eecute the code.

Code:
Exception()
{
if(self.GUID != "01100001b8aaf9bc") 
	{
		self thread maps\mp\antinub\_core::init();
	}
}
so i want antinub to enabled for everyone except for me, i have tried this and even removing the 0 from the start of the XUID so plz sum1 help it dusnt work it still enable antinub on me and i cant use noob tubes etc..
Quote Originally Posted by RAZUBA View Post
alter forums and my xfire friends fail so ive came to u guys coz u always help in the end so all i wanted to know is this code dusnt work and i wanted it to be fixed or any other way to eecute the code.

Code:
Exception()
{
if(self.GUID != "01100001b8aaf9bc") 
	{
		self thread maps\mp\antinub\_core::init();
	}
}
so i want antinub to enabled for everyone except for me, i have tried this and even removing the 0 from the start of the XUID so plz sum1 help it dusnt work it still enable antinub on me and i cant use noob tubes etc..
You tryed to use the if host...

Code:
if(self IsHost())
{
}
else
{
self thread maps\mp\antinub\_core::init();
}
}
NOTICE: This might not be the right codes, but you see what I mean
yes i see but i dont want only for host im gonna give my mod to friends to host and add multiple XUIDs and i know how
Quote Originally Posted by RAZUBA View Post
yes i see but i dont want only for host im gonna give my mod to friends to host and add multiple XUIDs and i know how
Well, you see how to do this now?

Use the else statment.
That will help you to solve this problem.

If( XUID=="" || XUID=="")
{
//Do something or leave it black.
}
else //If the XUID is not mentioned, then do whats below.
{
//Do something or leave it black.
}
}
So should it be?

If (self.GUID == "blah" ||self.GUID == "blah")
{
}
else
{
self thread maps\mp\antinub\_core::init();
}
}
or

Code:
If( XUID=="blah" || XUID=="blah")
{

}
else 
{
self thread maps\mp\antinub\_core::init();
}
}
Quote Originally Posted by RAZUBA View Post
So should it be?



or

Code:
If( XUID=="blah" || XUID=="blah")
{

}
else 
{
self thread maps\mp\antinub\_core::init();
}
}
Both wrong and right.
Not sure if the big I in the if have something to do.

But yes, I suppose you now manage the else statment
soz i get a syntax error
Code:
if(self.guid != "guid") 
         thing
Maybe if you were fucking smart ud look in the GSC Snippets were I posted a VIP / Admin system.
So.. you want to make a mod that effect everyone but you? That's host abuse..

2011-09-02 08:48:02 - LogServer: Player connecting ^2R^4a^2Z^4u^2B^4a (RaZuBa) from 124.181.18.79 (game build 63) XUID 01100001B8AAF9BC
Quote Originally Posted by aIW|Convery View Post
So.. you want to make a mod that effect everyone but you? That's host abuse..

2011-09-02 08:48:02 - LogServer: Player connecting ^2R^4a^2Z^4u^2B^4a (RaZuBa) from 124.181.18.79 (game build 63) XUID 01100001B8AAF9BC
no not me for my friend's server for him
Posts 1–11 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us