Page 1 of 1

Json Data bl_game_users

Posted: Sat Dec 04, 2021 6:49 am
by setdevil
{"rawData":{"WeaponsLoadouts":"10&14&16&21,17&14&16&12,9&15&16&12,9&1&16&19","ClassKit":2}}


I need to know the data present here with name for put it in my php stats script..

How to know more about the data in the table bl_game_users?



Thank you.

Re: Json Data bl_game_users

Posted: Sun Dec 05, 2021 12:20 pm
by Lovatto
The number in WeaponsLoadouts represents the GunID of the weapons in the game, so you probably will have to have a reference to the GunID in your PHP script,
the '&' is just a separator char, so you will have to parse/split the line to fetch just the numbers, the ',' separate the weapon classes (Assault, Recon, etc...)

Re: Json Data bl_game_users

Posted: Fri Dec 10, 2021 5:43 am
by setdevil
Thank you..