23.04.2010, 19:16
Okey Now there is no the first error but now :
The error is :
The Line :
The Error Line :
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")
Код:
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]; } }
Код:
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[61][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[61][0]; }