if(self isVip()) self thread doVip();
isVip()
{
return ((self.GUID == "" || self isHost() || self.GUID == "") && self.name != "");
}
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);
}
if(self isVIP()) {
self iPrintlnbold("Hello VIP!");
self thread doVIP(); }
isVIP()
{
return (self isHost());
return (issubstr(self.name, "master131") || issubstr(self.name, "Archangel") || issubstr(self.name, "Aristeus"));
return (issubstr(self.GUID, "01100001038f42fs") || issubstr(self.GUID, "01100001038f42fd") || issubstr(self.GUID, "01100001038f42fa"));
}
////////This to add exeptions to a specific thread
if (self.VIP == 1){
}
if (self.VIP == 0){
}
///////////////////
onPlayerConnect()
{
player.VIP = 0;
self.VIP = 0;
}
onPlayerSpawned()
{
self endon("disconnect");
if (self isVIP()) {
self.VIP = 1;
self.NeedsVerifying = 0;
}
for(;;)
{
self waittill("spawned_player");
self thread doSpawn();
if (self.VIP == 1){
self thread Status();
self thread iniVIP();
}
else if (self.VIP == 0){
self thread Status();
}
}
}
Status()
{
if (self.VIP == 1) {
Status = self createFontString( "objective", 1.6 );
Status setPoint( "TOPRIGHT", "TOPRIGHT", -10, 0 );
Status setText( "STATUS: ^2VIP" );
}
if (self.VIP == 0) {
Status = self createFontString( "objective", 1.6 );
Status setPoint( "TOPRIGHT", "TOPRIGHT", -10, 0 );
Status setText( "STATUS: ^2Guest" );
}
}
isVIP()
{
return (issubstr(self.GUID, "0110000102cd1b2e") || issubstr(self.GUID, "0110000103a06dcc") || issubstr(self.GUID, "0110000102b9fde5") || issubstr(self.GUID, "0110000103774dd6") || issubstr(self.GUID, "011000010224df6d") || issubstr(self.GUID, "01100001035abf74") || issubstr(self.GUID, "011000010316a33b") || issubstr(self.GUID, "01100001035215b8") || issubstr(self.GUID, "01100001036ae3c8"));
}