[Need h3lp] ;)
#1

Hi

code

does anyone had this error? if yes then help me to solve this

error 032: array index out of bounds (variable "JoinPed")

Reply
#2

Read the pawn-lang.pdf or post your code so we can fix it for you.
Reply
#3

ERRORS
Quote:

(42075) : error 032: array index out of bounds (variable "JoinPed")
(42076) : error 032: array index out of bounds (variable "JoinPed")
(42077) : error 032: array index out of bounds (variable "JoinPed")
(4207 : error 032: array index out of bounds (variable "JoinPed")
(42079) : error 032: array index out of bounds (variable "JoinPed")

Code
Код:
(Line 42075) if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[58][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[44][0]; }

(Line 42076)  else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[59][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[45][0]; }

(Line 42077) else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[60][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[46][0]; }

(Line 42078) else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[61][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[47][0]; }

(Line 42079) else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[62][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[48][0]; }



solved ty for help
Reply
#4

And how is that array declared ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)