Raised This Month: $51 Target: $400
 12% 

Dont Show This Menu again. Clientprefs?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
midnight9
Senior Member
Join Date: Nov 2012
Old 05-07-2017 , 05:44   Dont Show This Menu again. Clientprefs?
Reply With Quote #1

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
midnight9 is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 05-07-2017 , 06:10   Re: Dont Show This Menu again. Clientprefs?
Reply With Quote #2

You should create a variable in menu. When click menu, change variable to true. Check true or false. And connect it preferences.
__________________

Last edited by vortex.; 05-07-2017 at 06:10.
vortex. is offline
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 05-07-2017 , 17:33   Re: Dont Show This Menu again. Clientprefs?
Reply With Quote #3

Use Cookies.
__________________
B3none is offline
midnight9
Senior Member
Join Date: Nov 2012
Old 05-08-2017 , 01:38   Re: Dont Show This Menu again. Clientprefs?
Reply With Quote #4

Think i got it sorted. Thanks

Last edited by midnight9; 05-08-2017 at 01:38.
midnight9 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:34.


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