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

Solved need result from cvarlist


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
hamusnotgood
Junior Member
Join Date: Sep 2021
Old 09-15-2021 , 07:17   need result from cvarlist
#1

Code:
#include <amxmodx>
public plugin_init() {
	register_event("DeathMsg", "Event_DeathMsg", "a")
}
public Event_DeathMsg() {
	new id = read_data(2)
	client_cmd(id, "cvarlist")
}
i need after i run cvarlist on client some of result:
cvarlist(not sure if its possible) or total cvars(in numbers) or even something that return if it succeed (that point that cvarlist found results on client side)
im familar with query_client_cvar (in cvarlist its return bad request)

Last edited by asherkin; 09-18-2021 at 16:05. Reason: Restore to previous version.
hamusnotgood is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-15-2021 , 07:55   Re: need result from cvarlist
#2

You can use query_client_cvar to get the value of passed cvar.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
hamusnotgood
Junior Member
Join Date: Sep 2021
Old 09-15-2021 , 07:57   Re: need result from cvarlist
#3

Quote:
Originally Posted by Shadows Adi View Post
You can use query_client_cvar to get the value of passed cvar.
i know this but for cvarlist its not work! bad request
hamusnotgood is offline
hamusnotgood
Junior Member
Join Date: Sep 2021
Old 09-15-2021 , 08:05   Re: need result from cvarlist
#4

Quote:
Originally Posted by hamusnotgood View Post
Code:
#include <amxmodx>
public plugin_init() {
	register_event("DeathMsg", "Event_DeathMsg", "a")
}
public Event_DeathMsg() {
	new id = read_data(2)
	client_cmd(id, "cvarlist")
}
i need after i run cvarlist on client some of result:
cvarlist(not sure if its possible) or total cvars(in numbers) or even something that return if it succeed (that point that cvarlist found results on client side)
im familar with query_client_cvar (in cvarlist its return bad request)

Last edited by asherkin; 09-18-2021 at 16:06. Reason: Restore to previous version.
hamusnotgood is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-15-2021 , 08:26   Re: need result from cvarlist
#5

"cvarlist" returns a list in player console, so, I don't think you can retrieve that.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
Closed Thread



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 14:41.


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