Invalid index 0 (count 0) help me fix it
I am getting invalid index 0 (count 0) in this part of code --
Code:
new i This is g_cHumanModels part - Code:
new const g_cHumanModels[][] = |
Re: Invalid index 0 (count 0) help me fix it
PHP Code:
|
Re: Invalid index 0 (count 0) help me fix it
I tried the correct way like this but still error stays --
Code:
new const g_cHumanModels[][] = |
Re: Invalid index 0 (count 0) help me fix it
Use ArrayPushString, not SetString. Or use ArrayResize to allocate space before calling ArraySetString.
|
Re: Invalid index 0 (count 0) help me fix it
Quote:
2. How to allocate space ? EDIT: Tried with ArrayPushArray but the result is same as with ArrayPushString |
Re: Invalid index 0 (count 0) help me fix it
Show the full code don't expect us to guess what inside.
|
Re: Invalid index 0 (count 0) help me fix it
Quote:
This is the rest part, I am getting Invalid index 0 (Count 0) here also -- Code:
// Custom models stuff |
Re: Invalid index 0 (count 0) help me fix it
Quote:
|
Re: Invalid index 0 (count 0) help me fix it
Quote:
Code:
new i Code:
// Custom models stuff |
All times are GMT -4. The time now is 13:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.