Hello. I have a server in cod2 1.0. I want to make an icon for Admins. Could you help?. Thanks
Hello. I have a server in cod2 1.0. I want to make an icon for Admins. Could you help?. Thanks
Just read the default scripts.
Also: how the hell did you put a dot on the uppercase i?
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
Loveboy (2nd March 2017)
kubislav23 (18th May 2018)
You can use that code :
Make new file on your mod adm.gsc and put ths :
Put on your mod.gsc :PHP Code:
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
}
}
}
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
kung foo man (17th May 2018),thOuMta (17th May 2018)
kung foo man (17th May 2018)
PHP Code:
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
}
}
}