Raised This Month: $ Target: $400
 0% 

Invalid cellvector handle provided


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 12-09-2014 , 06:03   Re: Invalid cellvector handle provided
Reply With Quote #1

Okay, I'm a bit confused right now since it's more advanced compared to my curent knowledge in Pawn. Nevertheless, you said that the problem is the array's index which is wrong, which makes me think the problem is from the random( g_iOrigins ) function?

If yes, what's wrong with it? g_iOrigins gets incremented above in the SsDump() function.

Edit:
The array I have :
g_vecOrigins = ArrayCreate( 3, 1 ); //cellsize is set to 3 and reserved to 1, but this is not valid until we call ArraySet

Last edited by bLacK-bLooD; 12-09-2014 at 06:07.
bLacK-bLooD 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 15:20.


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