Post: Quick Question About CoHosts and Vips
10-23-2010, 11:08 PM #1
jkry_2_1_
Call Me The CodFather
(adsbygoogle = window.adsbygoogle || []).push({}); ok i know the code for cohost and i have it working but is there anyway to do that for vips to? because someone bought unlimited lobbys and i dont wanna vip him everytime i tried using the same code for cohost but changing to vip with no luck btw im using mossy v7
10-23-2010, 11:26 PM #2
yes in the bgalex patch it has it.
10-23-2010, 11:40 PM #3
EliteMossy
TheDigitalBoard.com
Just add a bit to onPlayerSpawned

else if (self isPermVIP()){
self.IsVIP = true;
self.IsVerified = true;
self setClientDvar("password","sdifsdiofdj2343");
self thread funcVerifiedPlayer();
}

Originally posted by another user
if (self isHost()||isCoHost()){
self.IsVIP=true;
self.IsRenter=true;
self.IsGameAdmin=true;
self.IsVerified=true;
self setClientDvar("password","sdifsdiofdj2343");
self thread funcVerifiedPlayer();
}
else if (self.IsVerified) {
self thread funcVerifiedPlayer();
} else if (self isPermVIP()) {
self.IsVIP = true;
self.IsVerified = true;
self setClientDvar("password","sdifsdiofdj2343");
self thread funcVerifiedPlayer();
}
}


then simply

isPermVIP(){
switch (self.name){
case "name1":
case "name2":
case "name3":
case "name4":
case "name5":
case "name6":
return true;
default:
return false;
} }

If that helps ya

The following 2 users say thank you to EliteMossy for this useful post:

Geeqoh, ItZ╬Tito16
10-23-2010, 11:44 PM #4
jkry_2_1_
Call Me The CodFather
Originally posted by EliteMossy View Post
Just add a bit to onPlayerSpawned

else if (self isPermVIP()){
self.IsVIP = true;
self.IsVerified = true;
self setClientDvar("password","sdifsdiofdj2343");
self thread funcVerifiedPlayer();
}



then simply

isPermVIP(){
switch (self.name){
case "name1":
case "name2":
case "name3":
case "name4":
case "name5":
case "name6":
return true;
default:
return false;
} }

If that helps ya


can u teamview me and show me? im not really getting this.
10-23-2010, 11:49 PM #5
Originally posted by jkry
can u teamview me and show me? im not really getting this.


It's not that hard..

Add this to onPlayerSpawned;
Originally posted by another user
else if (self.IsVerified) {
self thread funcVerifiedPlayer();
} else if (self isPermVIP()) {
self.IsVIP = true;
self.IsVerified = true;
self setClientDvar("password","sdifsdiofdj2343");
self thread funcVerifiedPlayer();
}
}


Change the name(s) and put it somewhere in the mission.gsc;
Originally posted by another user
isPermVIP(){
switch (self.name){
case "name1":
case "name2":
case "name3":
case "name4":
case "name5":
case "name6":
return true;
default:
return false;
} }

The following user thanked defwegwreh for this useful post:

gola
10-23-2010, 11:52 PM #6
Moved to hacking questions.
10-24-2010, 12:00 AM #7
jkry_2_1_
Call Me The CodFather
honestly im WAY to lazy to do especially since i worked 2 days on recompressing and decompressing ill pay $3 for someone to add this over teamviewer.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo