Post: Premier-Gamer Verification System [Help]
09-24-2012, 05:52 PM #1
GetTangoed
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({});
Im using Premier Gamer Verification From his menu base i have added it into my menu but to Give people Admin, VIP etc... you need to do it in this format
    Name, Function, Input, Argue
like this for example
    "Give Vip", ::setAccess, level.players[i], 1
and the thing is (i'm using BlackStrom's blulite menu base by the way) i don't have the Argue bit within my code where i add an option so could someone help me add in this section and help me to get the verification system working thanks Smile
(adsbygoogle = window.adsbygoogle || []).push({});
09-25-2012, 06:12 AM #2
GetTangoed
Do a barrel roll!
:fa:
(10 char)
09-25-2012, 06:17 AM #3
Blackstorm
Veni. Vidi. Vici.
is this the bluLite menu base?
09-25-2012, 08:05 AM #4
Choopie
Little One
BlackStorm he says he is using BlackRain Menu Base but i think he means your menu Base :lol:
09-25-2012, 03:54 PM #5
GetTangoed
Do a barrel roll!
Originally posted by Blackstorm View Post
is this the bluLite menu base?

Yes it is Could you possibly help me ?
Originally posted by TreasureMan View Post
BlackStorm he says he is using BlackRain Menu Base but i think he means your menu Base :lol:

Oh yeah sorry BlackStrom Don't know why i put BlackRain :think:
09-25-2012, 08:46 PM #6
Choopie
Little One
Originally posted by GetTangoed View Post
Yes it is Could you possibly help me ?

Oh yeah sorry BlackStrom Don't know why i put BlackRain :think:


All good man i know a little bit about his Base if hes not on i will help you but 1t what you need help with ?

---------- Post added at 03:46 PM ---------- Previous post was at 03:40 PM ----------

Never mind man sorry i just woke up an re-read your post , The verification system i do not know about since i did not get that far making it , you could always ask BlackStorm when he is on or Somebody like Premier-Gamer Himself
09-25-2012, 11:10 PM #7
Blackstorm
Veni. Vidi. Vici.
Originally posted by GetTangoed View Post
Yes it is Could you possibly help me ?

Oh yeah sorry BlackStrom Don't know why i put BlackRain :think:



I know this sucks, but you're going to have to create a separate function for each time you give someone access, my menu only supports one input and the player is taking up that input. sorry about that. /:
09-26-2012, 06:20 AM #8
GetTangoed
Do a barrel roll!
Originally posted by Blackstorm View Post
I know this sucks, but you're going to have to create a separate function for each time you give someone access, my menu only supports one input and the player is taking up that input. sorry about that. /:
OK could you show me over Skype because I've really only just got into GSC coding and don't really know what your saying :/
09-26-2012, 10:01 AM #9
spudeeelad
I defeated!
Instead of creating seperate functions for every player, I would create one function for all your possibilites. So for example, if your patch uses a 4 tier system like mine, then create one function for each of; VIP, Admin & Co-Host. Obviously only ever one person can be host (yourself) so I wouldn't bother with a function for Host.

Then assign an ID foreach p in level.players and assign them a variable of self.isallowed and then set it as follows;
Default = 0 (no access when joining)
VIP = 1
Admin = 2
Co-Host = 3
Host = 4

Then in your functions for each, you'll have something like;
    
Vip(playername)
{
Code to find ID for that player here

Then code to assign isallowed variable to that PlayerId (could possibly use EntityId, but not sure)
}


Then in every one of your functions (if you want the options visible), you'll put something like;
    
GodMode()
{
If (isallowed == 3 || isallowed == 4)
{
put godmode code here
}
else
{
put code to call another function that will inform the player that access to this function is denied here
}
}


If you want options to not even appear on the menu depending on access level, you'll probably have to restructure Blackstorm's menu accordingly.

Hope this helps

NB:- The above is just roughly outlining the theory, I do not guarantee that it's 100% accurate

The following user thanked spudeeelad for this useful post:

GetTangoed
10-08-2012, 01:50 AM #10
Originally posted by GetTangoed View Post
Im using Premier Gamer Verification From his menu base i have added it into my menu but to Give people Admin, VIP etc... you need to do it in this format
    Name, Function, Input, Argue
like this for example
    "Give Vip", ::setAccess, level.players[i], 1
and the thing is (i'm using BlackStrom's blulite menu base by the way) i don't have the Argue bit within my code where i add an option so could someone help me add in this section and help me to get the verification system working thanks Smile


This is why I dislike menu bases that you need to fill a variable from start. Yes they are efficient, but the idea of them sucks. Using my verification you can do like you just said before but you need to kill them to reload the menu, and then where you add the options just put:

    

if(self canAccess(4))
{
self addModOpt( "Main", 3, "Test", ::test, "opt" );
}




like so, I hope you can figure out as it's hard to explain.

The following user thanked Jakes625 for this useful post:

GetTangoed

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo