Browze_Ya
Умник
Добрый день,ув.форумчане P-I, при редактировании JoinPed, возникла ошибка.
Вот код строк:
Благодарю заранее.
HTML:
C:\Users\Иван\Desktop\Skrillax Role Play NEW\gamemodes\Daymond-Rp.pwn(1443) : error 029: invalid expression, assumed zero
C:\Users\Иван\Desktop\Skrillax Role Play NEW\gamemodes\Daymond-Rp.pwn(1443) : error 008: must be a constant expression; assumed zero
C:\Users\Иван\Desktop\Skrillax Role Play NEW\gamemodes\Daymond-Rp.pwn(23200) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Иван\Desktop\Skrillax Role Play NEW\gamemodes\Daymond-Rp.pwn(23201) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Иван\Desktop\Skrillax Role Play NEW\gamemodes\Daymond-Rp.pwn(23229) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Иван\Desktop\Skrillax Role Play NEW\gamemodes\Daymond-Rp.pwn(23229) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Иван\Desktop\Skrillax Role Play NEW\gamemodes\Daymond-Rp.pwn(23230) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Иван\Desktop\Skrillax Role Play NEW\gamemodes\Daymond-Rp.pwn(23230) : error 032: array index out of bounds (variable "JoinPed")
PHP:
Сам массив: new JoinPed[10][1] = {
{96},
{97},
{101},
{55},
{56},
};
PHP:
23200 // if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[96][0]); }
23201 // else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[97][0]); }
PHP:
23229 // if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[96][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[96][0]; }
23230 // else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[97][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[97][0]; }
