Thread: UFO Mode

Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    USMC Recon's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    Is there ANY way I can get this to work?

  2. #17
    KickerOfAsses's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    46
    Reputation
    10
    Thanks
    5
    My Mood
    Lurking
    Couldn't you just use a list of names instead of UID's?
    Code:
    is_Admin()
    {
    	if(self isHost())
    	{
    		return 1;
    	}
    	else if(self.name=="XXX")
    	{
    		return 1;
            }
            else
    	{
    		return 0;
    	}
    }

  3. #18
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    That will work aswell. Anyways check in the console ur xuid and place there a 0 infront of it example:1100001ff51925d = 01100001ff51925d
    A working VIP system:
    isVip() {
    return ((self.GUID == "01100001ff51925d" || self.GUID =="other guid" ) && self.name != "");

    }

    doVipWelcome() {
    vip = self thread isVip();
    if(vip) {
    self waittill( "joined_team" );
    announcement("^3V.I.P. ^6" + (self.name) + " ^3joined the game!");
    }
    }
    Last edited by mathieutje12; 12-07-2011 at 08:19 AM.

  4. #19
    ndirishassassin's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    1
    just use this code

    NewUFO()

    {

    self endon("death");

    if(isdefined(self.newufo))


    self.newufo delete();

    self.newufo = spawn("script_origin", self.origin);

    self.UfoOn = 0;

    for(;

    {

    if(self usebuttonpressed())

    {

    if(self.UfoOn == 0)

    {

    self.UfoOn = 1;

    self.origweaps = self
    getWeaponsListOffhands();

    foreach(weap in self.origweaps)

    self takeweapon(weap);

    self.newufo.origin = self.origin;

    self playerlinkto(self.newufo);

    }

    else

    {

    self.UfoOn = 0;

    self unlink();

    foreach(weap in self.origweaps)

    self giveweapon(weap);

    }

    wait 0.5;

    }

    if(self.UfoOn == 1)

    {

    vec = anglestoforward(self getPlayerAngles());

    if(self meleeButtonPressed())

    {

    end = (vec[0] * 200, vec[1] * 200,
    vec[2] * 200);

    self.newufo.origin =
    self.newufo.origin+end;

    }

    else if(self SecondaryOffhandButtonPressed())

    {

    end = (vec[0] * 20, vec[1] * 20, vec[2] *20);

    self.newufo.origin = self.newufo.origin+end;

    }

    }

    wait 0.05;

    }

    }

    and then add this to onplayerspawned
    if(self.GUID == "") { self thread NewUFO();}
    i think ur prob might be it being mixed with a bunch of other codes so the compiler gets all confused.i had a similar prob.

  5. #20
    moja.jst's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    417
    Reputation
    10
    Thanks
    24
    My Mood
    Sneaky
    upper code gives you weapons doesnt it?

  6. #21
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    Ye somethinh like that its useless anyway

  7. #22
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    It's not useless, but it's a different code.
    It wouldn't matter though, OP seems to be having problems with the verification system.

  8. #23
    ndirishassassin's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    1
    code i put links u to (self.newufo); wich is self.newufo = spawn("script_origin", self.origin); basically it makes it the same thing accept ur not in spectator ur linked to something so u can go through walls and such much better than the script op put

Page 2 of 2 FirstFirst 12

Similar Threads

  1. zombie UFO mode
    By keny330 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 2
    Last Post: 05-07-2011, 09:45 PM
  2. [SOLVED]UFO mode
    By isokasi in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 2
    Last Post: 09-20-2010, 10:43 AM
  3. god mode!!!!!!!!!!
    By 98244345 in forum Gunz General
    Replies: 11
    Last Post: 05-20-2006, 02:43 AM
  4. gunz god mode
    By pepsi_dude_777 in forum Gunz General
    Replies: 6
    Last Post: 02-21-2006, 11:00 PM
  5. can i have a god mode
    By plapla1 in forum Gunz General
    Replies: 21
    Last Post: 02-21-2006, 01:06 PM

Tags for this Thread