SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 29/01/2013, 09:02 AM   #1
Hardwell
Big Clucker
 
Join Date: Mar 2012
Posts: 66
Reputation: 0
Default error 033: array must be indexed (variable "pAKA")

Code:
pAKA = INI_ParseFile("aka.ini",ip);
How do I resolve this?

Thanks!
Hardwell is offline   Reply With Quote
Old 29/01/2013, 11:50 AM   #2
Hardwell
Big Clucker
 
Join Date: Mar 2012
Posts: 66
Reputation: 0
Default Re : error 033: array must be indexed (variable "pAKA")

up??
Hardwell is offline   Reply With Quote
Old 29/01/2013, 12:26 PM   #3
zde5
Little Clucker
 
Join Date: Jul 2009
Location: Croatia
Posts: 48
Reputation: 4
Default Re: error 033: array must be indexed (variable "pAKA")

write the line where pAKA is defined.
zde5 is offline   Reply With Quote
Old 29/01/2013, 02:08 PM   #4
Hardwell
Big Clucker
 
Join Date: Mar 2012
Posts: 66
Reputation: 0
Default Re : error 033: array must be indexed (variable "pAKA")

it's not defined...just new pAKA[256];
i dont know why...but with dini work.
Hardwell is offline   Reply With Quote
Old 29/01/2013, 04:17 PM   #5
zde5
Little Clucker
 
Join Date: Jul 2009
Location: Croatia
Posts: 48
Reputation: 4
Default Re: error 033: array must be indexed (variable "pAKA")

Because pAKA is array. you cant assign values by using "pAKA = something;". to assign value to array you have to do "pAKA[0 .. 255] = something;".
zde5 is offline   Reply With Quote
Old 29/01/2013, 05:13 PM   #6
Hardwell
Big Clucker
 
Join Date: Mar 2012
Posts: 66
Reputation: 0
Default Re : error 033: array must be indexed (variable "pAKA")

I find other aka system...Solved! T/C
Hardwell is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
error 033: array must be indexed (variable "CanChooseSkill") Deminitous Scripting Help 4 27/11/2012 06:00 PM
error 033: array must be indexed (variable "cName") kiloman3 Scripting Help 3 04/09/2012 10:06 AM
Got an error 033: array must be indexed (variable "-unknown-") BlackID Scripting Help 0 03/08/2012 06:38 AM
[ajuda] error 033: array must be indexed (variable "TaxiMission") adminlucas PortuguÍs/Portuguese 4 11/11/2011 12:36 AM
[Help]error 033: array must be indexed (variable "teleport") borisblat Help Archive 1 13/10/2009 02:51 PM


All times are GMT. The time now is 05:04 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.