Raised This Month: $ Target: $400
 0% 

Solved [CSTRIKE] Non-player entity 0 out of range


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 07-21-2019 , 07:45   Re: [CSTRIKE] Non-player entity 0 out of range
Reply With Quote #1

Quote:
Originally Posted by <VeCo> View Post
pWeapon is 0.
Make sure you give a valid weapon entity name to a valid player index.

It would make more sense to check if pWeapon > 0
So change from 1 to 0? Is this the test I was supposed to do?

PHP Code:
cs_set_weapon_ammo (pWeapon0); 
Or should I do a test if valid equals to 0 then make it do RELOAD?

Last edited by Fuck For Fun; 07-21-2019 at 07:46.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
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:31.


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