[Support] Sniper Only and VIP/Privileged users
-
Hello, I've been working on a trickshot server for my friends and I.
So far I have everything I need except for sniper only damage, and VIP users.
I saw on the forums that Enki posted snipers only but everytime I load it into my server, I become immune to death barriers.
I can't seem to figure it out.Also for VIP users, I have a save/load position function that I only want VIP users to be able to use.
-
Nifer Find a menu base that allows names in the gsc. a simple google search will probably find you this. You put your friends name, they get the menu, and then you edit the menu to your liking with the features.
-
frosty Wait but then couldn't anyone change their name to my friend's name and also get VIP?
-
Nifer Yes, use XUID instead of name
-
Radon I get a syntax error. Idk what I'm doing wrong
-
Radon
isVip ()
{
myXuid = self getXuid()switch ( myXuid ) { case "hghgh322": //vip player 1 case "qqq223qq": //vip player 2 case "jjsdk2k3jk": //vip player 3 case "sdkk23jk2": //vip player 4 return true; default : return false; }
}
I'm using this and calling the function elsewhere in the script. I found this in the forums somewhere
-
Nifer Also pretty soon they are going to be using forum names for in game names like Rekt does im pretty sure, so in that case you can just put their name in assuming they cant change it
-
frosty Still best to use xuid, more reliable i believe.
-
Mr. Android Any estimate on the release of that update btw?
-
I figured out snipers only damage.
However, I'm still stuck on this ;(
Its a simple syntax error and i can't figure it out
-
Nifer said in Sniper Only and VIP/Privileged users:
I figured out snipers only damage.
However, I'm still stuck on this ;(
Its a simple syntax error and i can't figure it out
add a semicolon after getXuid() e.g: myXuid = self getXuid();
-
Jax Thank you, however I've added the semicolon and I still have the syntax error
-
isVip() { myXuid = self getXuid(); switch(myxuid) { case "12345678": //vip player 1 case "12345678": //vip player 2 case "12345678": //vip player 3 case "12345678": //vip player 4 return true; default: return false; } }
Note: make sure the XUIDs your are inputting are 8 characters long
-
How do i add/make this work for my menu? do i put it in the menu folder in gametypes or?
-
grix are you able to help make me a menu
-
kuxqi Add me on discord Radon#7616
-
Radon ae ya ????C?dffggdfg
-
-
luigistyle its because 25 letter thing
-
frosty said in Sniper Only and VIP/Privileged users:
Mr. Android Any estimate on the release of that update btw?
Soon TM. You should know we don't give out dates. Software development even in a controlled business environment only provide rough estimates, so a project the Devs do in their spare time makes it near impossible to put a date range on.