Raised This Month: $ Target: $400
 0% 

Solved How to loop steamid while using keyvalues


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 02-10-2023 , 14:34   Re: How to loop steamid while using keyvalues
Reply With Quote #1

Ahhh Got it, thanks and it worked

Quote:
Originally Posted by 3ipKa View Post
I think something like this )
Code:
char name[128];
int points;

if(g_KeyValue.GotoFirstSubKey())
{
	do
	{
		g_KeyValue.GetString("Player Name", name, sizeof(name));
		points = g_KeyValue.GetNum("Total Points");
		//do somthing with that information
	}
	while(g_KeyValue.GotoNextKey());
}
__________________
alasfourom is offline
Reply


Thread Tools
Display Modes

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 00:59.


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