Raised This Month: $12 Target: $400
 3% 

Invalid Handle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DiogoOnAir
Senior Member
Join Date: Jul 2018
Location: Portugal
Old 04-15-2021 , 19:37   Invalid Handle
Reply With Quote #1

The handle is being defined on the global scope

Spoiler



Having him set to a newly created array using CreateArray on the plugin start, calling a timer after
Spoiler



The handle is invalid on that timerm or in any other plugin part since later one I'm trying to use clonearray and it still returns Invalid Handle error

Spoiler



Do you have any clue of what s going on?
__________________
I accept Private(Paid) plugins requests
If you like my job donate me Here
Feel free to add me on Steam
Feel free to add me on Discord DiogoOnAir | Config & Developer#7961
Check my website
If you want to buy any server, you can buy it from here!
Datacenters around the world!

Last edited by DiogoOnAir; 04-15-2021 at 19:37.
DiogoOnAir is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-17-2021 , 07:04   Re: Invalid Handle
Reply With Quote #2

What is the exact error you get? on what line?
__________________
asherkin is offline
DiogoOnAir
Senior Member
Join Date: Jul 2018
Location: Portugal
Old 04-28-2021 , 05:34   Re: Invalid Handle
Reply With Quote #3

Quote:
Originally Posted by asherkin View Post
What is the exact error you get? on what line?

Invalid Handle 3 (error 7)

I did some changes on the code, but still not fixed.

the loop works but when the size of the array with 2 of skinrarity gets to 10 the next loop gives that error


Spoiler



I m anexing the sp file.
Attached Files
File Type: sp Get Plugin or Get Source (1619601958577_caseopening.sp - 24 views - 27.7 KB)
__________________
I accept Private(Paid) plugins requests
If you like my job donate me Here
Feel free to add me on Steam
Feel free to add me on Discord DiogoOnAir | Config & Developer#7961
Check my website
If you want to buy any server, you can buy it from here!
Datacenters around the world!

Last edited by DiogoOnAir; 04-29-2021 at 11:15.
DiogoOnAir 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 07:26.


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