Raised This Month: $ Target: $400
 0% 

KeyValues, how I can get current KeyValue key name?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 07-05-2016 , 19:15   Re: KeyValues, how I can get current KeyValue key name?
Reply With Quote #1

Quote:
Originally Posted by Fyren View Post
This is because you're doing:

PHP Code:
LogError("Cvar not found. ID: %d, Cvar: %s"temp_stringtemp_string2); 
1918857325 == 0x725F706D

Reverse the bytes in the hex to get 0x6D705F72. As ASCII, "mp_r", or the first four bytes of your string. Because you're printing it as an integer.
Thank you for noticing, now I fixed all issues
__________________
iGANGNAM 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 21:55.


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