Post: Have another big problem with my menu
04-14-2016, 05:12 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello again Winky Winky
I have another big problem with my mod menu :
When i go onlinne with my menu people are able to open it or i didn't verified them however they can't do anything
Could you help my to fix this problem (I just want that they can't open it when they are unverified) Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});
04-14-2016, 06:35 PM #2
BullyWiiPlaza
Climbing up the ladder
You need to post code
04-15-2016, 06:45 AM #3
Originally posted by BullyWiiPlaza View Post
You need to post code


Off course Winky Winky
Here is my code
You must login or register to view this content.
And I'm using this base
You must login or register to view this content.
04-15-2016, 08:59 AM #4
BullyWiiPlaza
Climbing up the ladder
You are checking for self.status but it is undefined. This gives everyone the menu. To fix it, you need to change the following code:
    if(player isHost() || player islocaltohost())
{
player.AccessLevel = "Hote";
player thread welcomeAnim();
player thread welcomeMessage();
self.notifyData.archived = false;
}
else
player.AccessLevel = "Pas d'acces";

to
    if(player isHost() || player islocaltohost())
{
player.status = "Hote";
player thread welcomeAnim();
player thread welcomeMessage();
self.notifyData.archived = false;
}
else
player.status = "Pas d'acces";

for example.
04-15-2016, 09:36 AM #5
Originally posted by BullyWiiPlaza View Post
You are checking for self.status but it is undefined. This gives everyone the menu. To fix it, you need to change the following code:
    if(player isHost() || player islocaltohost())
{
player.AccessLevel = "Hote";
player thread welcomeAnim();
player thread welcomeMessage();
self.notifyData.archived = false;
}
else
player.AccessLevel = "Pas d'acces";

to
    if(player isHost() || player islocaltohost())
{
player.status = "Hote";
player thread welcomeAnim();
player thread welcomeMessage();
self.notifyData.archived = false;
}
else
player.status = "Pas d'acces";

for example.


Thank you i'll test it Winky Winky
Do i have to change another things?
    changeVerificationMenu(player, verlevel)
{
if(verificationToNum(self.AccessLevel) >= verificationToNum(player.AccessLevel))
{
if( player.AccessLevel != verlevel)
{
if(!player ishost())
{
player.AccessLevel = verlevel;

self.menu.title clear(self);
self.menu.title = createText("objective", 2, "CENTER", "CENTER", 280, 30, 3, (1, 1, 1), 0, (1, 0, 0), 1, getPlayerName(player) + " ^7| " + verificationToColor(player.AccessLevel));
self.menu.title FadeOverTime(0.3);
self.menu.title.alpha = 1;

if(player.AccessLevel == "Pas d'acces")
player thread destroyMenu(player);

player suicide();
self iPrintln("Menu donne a " + player.name + " Il est " + verificationToColor(verlevel));
player iPrintln("Votre Statut est maintenant " + verificationToColor(verlevel));
}
else
self iPrintln("Vous ne pouvez pas changer le statut de l'Hote!");
}
else
{
if (player isHost())
self iPrintln("Vous ne pouvez pas changer le statut de l'Hote!");
else
self iPrintln(player.name + " est Deja " + verificationToColor(verlevel));
}
}
else
self iprintln("Il est " + verificationToColor(AccessLevel) + ". Vous ne pouvez pas changer le Statut de l'Hote!");

like this?
}
04-15-2016, 10:04 AM #6
BullyWiiPlaza
Climbing up the ladder
Yes, all player.accessLevel have to be changed to player.status because that's the verification variable you use.
04-15-2016, 10:57 AM #7
Okay i did it i'll test this afternoon and i'll keep you informed Winky Winky
04-15-2016, 05:28 PM #8
Thanks a lot for your help it work perfectlyWinky Winky
Do you know why when there are more than 6 people in game their names disappear in the menu?
04-15-2016, 06:41 PM #9
BullyWiiPlaza
Climbing up the ladder
Originally posted by Richi987 View Post
Do you know why when there are more than 6 people in game their names disappear in the menu?

You need to remove the clan tags to get more space for names for example. There are too many letters to be displayed or try to decrease the text font size.
05-03-2016, 02:16 AM #10
Originally posted by Richi987 View Post
Hello again Winky Winky
I have another big problem with my mod menu :
When i go onlinne with my menu people are able to open it or i didn't verified them however they can't do anything
Could you help my to fix this problem (I just want that they can't open it when they are unverified) Winky Winky


Question(s) have been answered. I'll be closing now. Cheers.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo