[HELP] I have a code problem.
#4

Okey Now there is no the first error but now :

The error is :
Код:
C:\Users\Idan\Desktop\Server\gamemodes\LVRP.pwn(28967) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Idan\Desktop\Server\gamemodes\LVRP.pwn(28967) : error 032: array index out of bounds (variable "JoinPed")
The Line :

Код:
				case 14: //Los Aztecz Gang
				{
          if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[59][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[59][0]; }
				  else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[60][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[60][0]; }
				  else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[61][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[61][0]; }
				}
The Error Line :
Код:
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[61][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[61][0]; }
Reply


Messages In This Thread
[HELP] I have a code problem. - by IdanN - 23.04.2010, 18:54
Re: [HELP] I have a code problem. - by russo666 - 23.04.2010, 18:58
Re: [HELP] I have a code problem. - by Joe Staff - 23.04.2010, 19:00
Re: [HELP] I have a code problem. - by IdanN - 23.04.2010, 19:16
Re: [HELP] I have a code problem. - by Calgon - 23.04.2010, 19:36
Re: [HELP] I have a code problem. - by Adil - 23.04.2010, 19:42

Forum Jump:


Users browsing this thread: 4 Guest(s)