[TF2] Attrib 186
Hello everyone, I want to set on a item gift from nameofplayer, but I don't know wich number I need to write, I already tried the number in userdata, the steam id.
So I have a idea it's to get the value on a item gifted(a true item in the backpack), but I don't know how get the value |
Re: [TF2] Attrib 186
They say account_id so I'd try the SteamID64 version, e.g. 76561197960287930.
You can get this with GetClientAuthId(client, AuthId_SteamID64, yourstring, sizeof(yourstring)). The number you already tried in userdata is part of your Steam3 ID, which is different. |
Re: [TF2] Attrib 186
Quote:
|
Re: [TF2] Attrib 186
I had assumed this his failed attempt to use "the number in userdata" (Steam3) would mean it was something other than Steam3. That's why I suggested something else.. But looks like OP was wrong in the first place. I keep saying assumptions make mistakes, yet I fall into this trap when the OP gives wrong info. Of course, I'm now making the assumption that you're correct, Asher. :) Well, keep trying, Benoist!
|
Re: [TF2] Attrib 186
The likely problem here is that it is being set as float rather than an int. (TF2Items only supports float attributes.)
|
Re: [TF2] Attrib 186
It is indeed an integer:
PHP Code:
|
Re: [TF2] Attrib 186
Yes it's possible to set a integrer with tf2attributes. So the right number is the steamid64 or the number on userdata?
Edit: Ok I looked old post so it's the userdata number. |
Re: [TF2] Attrib 186
maybe do like
Float:123456 |
Re: [TF2] Attrib 186
Quote:
|
Re: [TF2] Attrib 186
Quote:
|
All times are GMT -4. The time now is 13:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.