Raised This Month: $32 Target: $400
 8% 

Get Float


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
godzcsgo
Senior Member
Join Date: Jul 2017
Old 02-10-2019 , 01:20   Get Float
Reply With Quote #1

Im looking for a plugin that gets the float of the item your holding in, by doing !float.

Willing to pay for this. PM me for discord.
godzcsgo is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 02-10-2019 , 02:47   Re: Get Float
Reply With Quote #2

try
Attached Files
File Type: txt zzztryfloat.txt (387 Bytes, 72 views)
Indarello is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 02-10-2019 , 02:58   Re: Get Float
Reply With Quote #3

You really have to start putting in the tiniest bit of effort and post in the correct section. I've moved your numerous threads to the proper sections.
__________________
sneaK is offline
godzcsgo
Senior Member
Join Date: Jul 2017
Old 02-10-2019 , 12:06   Re: Get Float
Reply With Quote #4

Quote:
Originally Posted by Indarello View Post
try
Hello I dont think it worked, Im holding my Ak-47 | Elite Build and doing !float but [0] gets printed.

godzcsgo is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 02-10-2019 , 13:20   Re: Get Float
Reply With Quote #5

Dont know why, works only on weapons that are modified from !ws plugin
And I also maybe made mistake
if you need float (value of wear quality like battle scared, factory new)
you need change to
PrintToChat(client,"Weapon float: [%f]", GetEntPropFloat(activeWeapon, Prop_Send, "m_flFallbackWear"));
but still works only for !ws weapons

Last edited by Indarello; 02-10-2019 at 13:20.
Indarello is offline
godzcsgo
Senior Member
Join Date: Jul 2017
Old 02-10-2019 , 18:12   Re: Get Float
Reply With Quote #6

Quote:
Originally Posted by Indarello View Post
Dont know why, works only on weapons that are modified from !ws plugin
And I also maybe made mistake
if you need float (value of wear quality like battle scared, factory new)
you need change to
PrintToChat(client,"Weapon float: [%f]", GetEntPropFloat(activeWeapon, Prop_Send, "m_flFallbackWear"));
but still works only for !ws weapons
I want it to work for real skins, i want this plugin for a trading server so this is very important.

And it did not work it just outputed:

Weapon float: [0.000000]
godzcsgo 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 06:43.


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