#OLD##I##I##I##I##I##I##I##I##I##I# ADMİN HEADİCON [Archive] - killtube.org

PDA

View Full Version : ADMİN HEADİCON



ZeroTolerance
1st March 2017, 17:31
Hello. I have a server in cod2 1.0. I want to make an icon for Admins. Could you help?. Thanks

IzNoGoD
1st March 2017, 17:56
Just read the default scripts.

Also: how the hell did you put a dot on the uppercase i?

ZeroTolerance
1st March 2017, 18:22
Just read the default scripts.

Also: how the hell did you put a dot on the uppercase i?

i dont know :D

Salem75
17th May 2018, 04:14
You can use that code :
Make new file on your mod adm.gsc and put ths :



init() {
level.vipPlayer = [];
level.admPlayer = [];


//vip
level.vipPlayer[1] = 874632;
level.vipPlayer[2] = 707693;

}

SetVip() {
guid = self getGuid();
for(x=1; x<=level.vipPlayer.size; x++) {
if(guid==level.vipPlayer[x]) {
precachestatusIcon("gnnr_rank_pro_7");
self.statusicon = "gnnr_rank_pro_7";
// you can change value

}
}

}


Put on your mod.gsc :
Thread maps\mp\gametypes\adm::init();
And put on onplayerspawn();
Thread maps\mp\gametypes\adm::setvip();

Lol this question since 1 year ago , sorry for answers now . You got waited much :)

IzNoGoD
17th May 2018, 14:44
You can use that code :
Make new file on your mod adm.gsc and put ths :



init() {
level.vipPlayer = [];
level.admPlayer = [];


//vip
level.vipPlayer[1] = 874632;
level.vipPlayer[2] = 707693;

}

SetVip() {
guid = self getGuid();
for(x=1; x<=level.vipPlayer.size; x++) {
if(guid==level.vipPlayer[x]) {
precachestatusIcon("gnnr_rank_pro_7");
self.statusicon = "gnnr_rank_pro_7";
// you can change value

}
}

}


Put on your mod.gsc :
Thread maps\mp\gametypes\adm::init();
And put on onplayerspawn();
Thread maps\mp\gametypes\adm::setvip();

Lol this question since 1 year ago , sorry for answers now . You got waited much :)



PLEASE put your precache in the appropriate (initialize) position. Not in a user-callable script.

Salem75
18th May 2018, 12:17
init() {
precachestatusIcon("gnnr_rank_pro_7");
precacheHeadIcon("gnnr_rank_pro_7");
level.vipPlayer = [];
level.admPlayer = [];


//vip
level.vipPlayer[1] = 874632;
level.vipPlayer[2] = 707693;

}

SetVip() {
guid = self getGuid();
for(x=1; x<=level.vipPlayer.size; x++) {
if(guid==level.vipPlayer[x]) {
self.statusicon = "gnnr_rank_pro_7";
self.headicon = "gnnr_rank_pro_7";
// you can change value

}
}

}