UID selective scripts?

Jack Marslow

Well-Known Member
Ok, lets say I have a script that makes all players on the server able to use the refueling script. Now I want to make it so a UID DOESNT run the script.


Code:
if ((getPlayerUID player) in ["xxxxxxx"]) then {
 
refueling code here
 
}

I know this will make it so only people with a UID in the "XXXX" will beable to run the script. What about the other way around though?
 
Doh! I knew it was easy. So if I put that in at the start of a script it wont run the script against anyone in the "xxxxx"?

Actually Seven, coulda ya skype me? "Turbobowtie"
 
The whole idea is to deny the function to a specific person, or group of people. The IF has been added, removing it bring it back to its original state....
 
Back
Top