Raised This Month: $ Target: $400
 0% 

Solved ArrayGetString problem.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 06-23-2020 , 15:51   Re: ArrayGetString problem.
Reply With Quote #1

If there are no data types, what should I do in this case?
__________________


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
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-23-2020 , 18:02   Re: ArrayGetString problem.
Reply With Quote #2

Store the data as string instead of int.
num_to_str
str_to_num
__________________









Last edited by CrazY.; 06-23-2020 at 18:02.
CrazY. is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-23-2020 , 20:55   Re: ArrayGetString problem.
Reply With Quote #3

A cell when used as an integer must be either signed or unsigned 32-bit integer and it is signed (since negative numbers are all over the place). But, I imagine that since the menu item data is a string, it's possible that it doesn't handle negative values well and based on Natsheh's and Shadow Adi's experience, it seems to get converted to an unsigned byte.
__________________
fysiks 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 17:15.


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