Raised This Month: $ Target: $400
 0% 

Cstrike Invalid id Out Of Range


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-29-2011 , 05:10   Re: Cstrike Invalid id Out Of Range
Reply With Quote #1

Quote:
Originally Posted by Doc-Holiday View Post
Then its wrong on the docs page.

Guess i should read the comments.
No it's not wrong, you read it wrong.
Quote:
cs_set_weapon_ammo - Sets the amount of ammo in weapon's clip.
Syntax:

cs_set_weapon_ammo ( index, newammo ) Type:

Native Notes:

index is the weapon entity's index.
Meaning you input a weapon entity id, not a player id nor a CSW_* id.

Still, that's a different function, we were talking about cs_get_weapon_id.
__________________
Hunter-Digital is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-29-2011 , 05:20   Re: Cstrike Invalid id Out Of Range
Reply With Quote #2

Quote:
Originally Posted by Hunter-Digital View Post
No it's not wrong, you read it wrong.

Meaning you input a weapon entity id, not a player id nor a CSW_* id.

Still, that's a different function, we were talking about cs_get_weapon_id.

obv you cant read ither... "I guess i should read the comments."

because its edited there.
Doc-Holiday 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 00:57.


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