AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Dont Show This Menu again. Clientprefs? (https://forums.alliedmods.net/showthread.php?t=297164)

midnight9 05-07-2017 05:44

Dont Show This Menu again. Clientprefs?
 
Hello, i need to make a simple menu with some information displayed to a player, and i want an option in the menu so the player can choose to not display this message to him again.

Example :

MenuTitle
1.Option1
2.Option2
3.Dont Show Me This Menu Again

Is it possible to do this with Clientprefs? Perhaps any other ways? Im not a coder so if someone could give me an example I would greatly appreciate it.

regards

vortex. 05-07-2017 06:10

Re: Dont Show This Menu again. Clientprefs?
 
You should create a variable in menu. When click menu, change variable to true. Check true or false. And connect it preferences.

B3none 05-07-2017 17:33

Re: Dont Show This Menu again. Clientprefs?
 
Use Cookies.

midnight9 05-08-2017 01:38

Re: Dont Show This Menu again. Clientprefs?
 
Think i got it sorted. Thanks


All times are GMT -4. The time now is 13:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.