[P]remi[O]
Умник
Помогите плз исправить 10 ошибок:
Строки:
Они возникли при создании фракции,заранее благодарен)плюсом не обижу!
---------- Post added at 23:43 ---------- Previous post was at 23:28 ----------
всё,я просто нубас,исправил тема закрыта
PHP:
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(7308) : warning 217: loose indentation
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(24314) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(24314) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(24315) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(24315) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(24316) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(24316) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(24317) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(24317) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(24318) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\Invisibol\Desktop\The Godfather\gamemodes\gf.pwn(24318) : error 032: array index out of bounds (variable "JoinPed")
PHP:
case 12:
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[125][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[125][0]; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[280][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[280][0]; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[281][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[281][0]; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[283][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[283][0]; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[284][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[284][0]; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[55][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[55][0]; }
}
---------- Post added at 23:43 ---------- Previous post was at 23:28 ----------
всё,я просто нубас,исправил тема закрыта
