Raised This Month: $ Target: $400
 0% 

Solved How to make client configuration persistent?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
damage220
Senior Member
Join Date: Jul 2022
Location: Ukraine
Old 07-09-2022 , 17:29   Re: How to make client configuration persistent?
Reply With Quote #1

I have found exactly what I was interested in.

Code:
public client_infochanged(id)
{
	new option[32];

	get_user_info(id, "plugin_param ", option, sizeof(option));
	client_print(id, print_chat, "plugin_param new value: %s", option);
}
Then type setinfo plugin_param 1 in the console. The value is restored after client restart which is awesome. And there is even an event listener to catch all changes.

Last edited by damage220; 07-09-2022 at 17:31.
damage220 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 15:37.


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