HelpSpecific XUID perks

Posts 1–4 of 4 · Page 1 of 1
Specific XUID perks
the title explains most of it.. i have a zombie server, i would like to give admin privs (like vip) i have searched the threads but didnt find much. I had a simple one going but instead of just me having the perks everyone on the server had them. unfortunatley i deleted that code
all i have found so far is this
Code:
onPlayerSpawned()
{
	self endon("disconnect");
	if(self.GUID == "011000012fff2560" || self.GUID == "011000012fff2560")
        {
         self thread doTextSuizide();
        }
	for(;;)
	{
		self waittill("spawned_player");
		self thread doSpawn();
}
and this
Code:
doTextSuizide()
{
	if(self.GUID != "011000012fff2560" && self.GUID != "011000012fff2560")
	{
		for(;;)
		{
		self iPrintLn("^7Press ^2[[{+actionslot 2}]] ^7to suizide!");
		wait 15;
		self iPrintLn("^7Press ^2[[{+activate}]]^7+ ^2Player crouch ^7to use JetPack!");
		wait 15;
		self iPrintLn("^7Press ^2[[{+activate}]] ^7to Sentry Hijacking!");
		wait 15;
		}
	}
}
i know if i wanted sentry hijacking to work i would need the code but i have removed it from the first one. i am m getting syntax error with this code
just to make it clear what i want;
code in order to give specific players of my choice specific perks (WH no recoil ect) as the alteriw forums frown on this im relying on you thanks !
Syntax error for what line?
i have tried just the first without self thread doTextSuizide(); and but with iprint and both together ; both have errors
i have used this code in the onplayerspawned
Code:
level.player= "011000012fff2560";
level.player= spawnStruct();
level.player.something = "uhu";
if(level.player== "011000012fff2560" )
iPrintLnBold( "^7Your Admin(s) today are: Dan" );
and it has worked but it appears on eveyones screen and the perks i give also do is there a way just to make ^that visible for me and only me and vips get the perks?
Quote Originally Posted by Born2BeatU View Post
i have tried just the first without self thread doTextSuizide(); and but with iprint and both together ; both have errors
i have used this code in the onplayerspawned
Code:
level.player= "011000012fff2560";
level.player= spawnStruct();
level.player.something = "uhu";
if(level.player== "011000012fff2560" )
iPrintLnBold( "^7Your Admin(s) today are: Dan" );
and it has worked but it appears on eveyones screen and the perks i give also do is there a way just to make ^that visible for me and only me and vips get the perks?
just
Code:
if(self.GUID == "011000012fff2560" || self.GUID == "011000012fff2560")
        {

 self iPrintLnBold( "^7Your Admin(s) today are: Dan" );
}
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us