Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help VIP features
#1
So im still a newb at modding and im trying to enable VIP features based on someones XUID. This is what iv'e tried so far:
Code:
VIP()
{
        if(self getxuid("1100001747b082d"));
        {
        self giveMaxAmmo("coltanaconda_mp", 0, false);
        }
}
The problem is that everyone gets max ammo. Help would be appreciated.
Reply

#2
Code:
if(self.guid == "xuid")
{
self giveMaxAmmo("coltanaconda_mp", 0, false);
}

edit:

something easier if you want to use multiple vips
Code:
addVip( xuid )
{
    foreach( player in level.players)
    {
        if(player.guid == xuid )
        {
            player giveMaxAmmo("coltanaconda_mp");
        }
    }
}
then use
Code:
level addVip( xuid );
to add a vip
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#3
(04-29-2011, 19:43)iAegle Wrote:
Code:
if(self.guid == "xuid")
{
self giveMaxAmmo("coltanaconda_mp", 0, false);
}

didn't work, now i don't get ammo at all
Reply

#4
(04-29-2011, 19:49)isokasi Wrote:
(04-29-2011, 19:43)iAegle Wrote:
Code:
if(self.guid == "xuid")
{
self giveMaxAmmo("coltanaconda_mp", 0, false);
}

didn't work, now i don't get ammo at all

isnt
Code:
self giveMaxAmmo("coltanaconda_mp", 0, false);
supposed to be:
Code:
self giveMaxAmmo("coltanaconda_mp");
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#5
(04-29-2011, 19:50)iAegle Wrote:
(04-29-2011, 19:49)isokasi Wrote:
(04-29-2011, 19:43)iAegle Wrote:
Code:
if(self.guid == "xuid")
{
self giveMaxAmmo("coltanaconda_mp", 0, false);
}

didn't work, now i don't get ammo at all

isnt
Code:
self giveMaxAmmo("coltanaconda_mp", 0, false);
supposed to be:
Code:
self giveMaxAmmo("coltanaconda_mp");
yea it is, i tried changing it but it still wont work

(04-29-2011, 19:52)isokasi Wrote:
(04-29-2011, 19:50)iAegle Wrote:
(04-29-2011, 19:49)isokasi Wrote:
(04-29-2011, 19:43)iAegle Wrote:
Code:
if(self.guid == "xuid")
{
self giveMaxAmmo("coltanaconda_mp", 0, false);
}

didn't work, now i don't get ammo at all

isnt
Code:
self giveMaxAmmo("coltanaconda_mp", 0, false);
supposed to be:
Code:
self giveMaxAmmo("coltanaconda_mp");
yea it is, i tried changing it but it still wont work

i got this to work, but for some reason it doesnt work with the xuid
Code:
if(self.name == "MYNAME")
{
self giveMaxAmmo("coltanaconda_mp");
}
Reply

#6
Code:
if(self.guid == "xuid")
{
self giveMaxAmmo("coltanaconda_mp");
}

did you change the "xuid?"
otherwise you might want the code like this:

Code:
if(self.guid == "1100001747b082d")
{
self giveMaxAmmo("coltanaconda_mp");
}

or do what like iAegle and I did:

Code:
onPlayerSpawned()
{
etc...

self CheckVip();
}

CheckVip()
{
if(self.guid == "xuidgoeshere" || self.guid == "xuidgoeshere" || self.guid == "xuidgoeshere" || and add more..)
self giveMaxAmmo("coltanaconda_mp");
}
Reply

#7
Still not working, heres the mod http://pastebin.com/4wLT3miY

EDIT: NVM it works now. When i started the game it said LPXUID 1100001747b082d, but when i typed "status" in the console it said 01100001747b082d (a zero infront of the XUID). But thanks for everyone that was helping <3
Reply

#8
if you use name as VIP do you have to add the colour tags or not? example: ^2E^1P^7I^8C or something
Black Ops Mods:

RPG(rocket launcher) mod
Get the Specials

Old aliasses:

eliteCVDelite
CVD

Reply

#9
Can you please explain me how to use it?
Reply

#10
it show me an error at
Quote:if(self.guid == "11000010471f66e")
but i dont know why, pls help me Heart
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] MW3 ChromatiX 2.2.1 [Texture Hack with Installer and Additional Features] - Steam/aIW House 99 127,843 04-17-2013, 22:31
Last Post: lordevil10
  mod features dafiz 8 3,491 01-28-2013, 11:50
Last Post: dafiz
  [Request] New features that are possible according to @zxz0o0 AND NEED TO BE IMPLENTED JariZ 30 9,911 04-21-2012, 09:44
Last Post: master131
  [Release] MW3 ChromatiX 2.1 [Texture Hack with Auto-Installer and Additional Features] - FIXED House 46 75,654 02-01-2012, 11:29
Last Post: d0h!
  Future version features AZUMIKKEL 7 4,131 09-08-2011, 15:44
Last Post: AZUMIKKEL
  Preview =D Drugs Dealers Mod + Bunker Modded Map + Features list Robyrq 9 5,131 07-21-2011, 11:22
Last Post: Robyrq
  [News] Call of Duty Elite free features detailed, even haters can play for free aosma8 0 2,508 06-07-2011, 10:08
Last Post: aosma8
  [News] Call Of Duty : Elite Features Analysis (Part 1 and 2) aosma8 1 1,843 06-05-2011, 08:36
Last Post: armeenzzz

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.