[SOLVED] "Vip" System?
Hey fellow modders
So i have been trying to make a sort of Vip system, But when i add stuff, just everyone is getting that bonus or whatever it is
Here is what i have right now
And then i have
Basically Everyone gets more speed when i add g_speed or something, it supposed to work only for the Vip's
And then there is also this problem that the "giveWeapon" doesnt work, it just gives no weapon
doAmmo is working
doGod doesnt work, it just doesnt give me any extra hp or anything
doUfo is working
self player_recoilscaleon(0) is also working
Regards, Aristeus
So i have been trying to make a sort of Vip system, But when i add stuff, just everyone is getting that bonus or whatever it is
Here is what i have right now
Code:
if(self isVip()) self thread doVip();
Code:
isVip()
{
return ((self.GUID == "" || self isHost() || self.GUID == "") && self.name != "");
}
Code:
doVip()
{
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "nuke", true );
self thread doGod();
self thread doAmmo();
self giveWeapon( "cheytac_fmj_xmags_mp", 5, false );self GiveMaxAmmo("cheytac_fmj_xmags_mp");
self giveWeapon( "barrett_fmj_xmags_mp", 5, false );self GiveMaxAmmo("barrett_fmj_xmags_mp");
self thread doUfo();
self player_recoilScaleOn(0);
}
And then there is also this problem that the "giveWeapon" doesnt work, it just gives no weapon
doAmmo is working
doGod doesnt work, it just doesnt give me any extra hp or anything
doUfo is working
self player_recoilscaleon(0) is also working
Regards, Aristeus



helped me so much <3