Results 1 to 4 of 4
  1. #1
    Born2BeatU's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0

    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 !

  2. #2
    shadowx360's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    305
    Reputation
    15
    Thanks
    69
    My Mood
    Cynical
    Syntax error for what line?


    When I wrote this code, only God and I understood what I was doing. Now, God only knows.
    I will give you two of my seventy-two virgins if you can fix the code mess below

  3. #3
    Born2BeatU's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    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?

  4. #4
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    166
    My Mood
    Angelic
    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" );
    }

Similar Threads

  1. how to define teleport for specific xuid ?
    By hamed2011 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 21
    Last Post: 10-11-2011, 02:52 PM
  2. Replies: 7
    Last Post: 11-08-2009, 10:04 PM
  3. Join my clan definately get perks...
    By clutchengaged in forum CrossFire Clan Recruitment & Advertising
    Replies: 1
    Last Post: 09-22-2009, 05:51 AM
  4. Combat Arms, new Perk!
    By Mouzie in forum Combat Arms Hacks & Cheats
    Replies: 24
    Last Post: 07-24-2009, 12:35 AM
  5. Perks
    By DirtyHarry in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 3
    Last Post: 06-12-2009, 05:29 PM