Bonus
Умник
Когда я делал мафию, у меня возникли ошибки:
вот строчки 6591-6593.
7332-7333
Помогите исправить пожалуйста.
PHP:
D:\Samp mod's\MadGame\gamemodes\madgame.pwn(6591) : error 032: array index out of bounds (variable "JoinPed")
D:\Samp mod's\MadGame\gamemodes\madgame.pwn(6591) : error 032: array index out of bounds (variable "JoinPed")
D:\Samp mod's\MadGame\gamemodes\madgame.pwn(6592) : error 032: array index out of bounds (variable "JoinPed")
D:\Samp mod's\MadGame\gamemodes\madgame.pwn(6592) : error 032: array index out of bounds (variable "JoinPed")
D:\Samp mod's\MadGame\gamemodes\madgame.pwn(6593) : error 032: array index out of bounds (variable "JoinPed")
D:\Samp mod's\MadGame\gamemodes\madgame.pwn(6593) : error 032: array index out of bounds (variable "JoinPed")
D:\Samp mod's\MadGame\gamemodes\madgame.pwn(7333) : error 029: invalid expression, assumed zero
D:\Samp mod's\MadGame\gamemodes\madgame.pwn(7333) : warning 215: expression has no effect
D:\Samp mod's\MadGame\gamemodes\madgame.pwn(7333) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
PHP:
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[273][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[273][0]; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[292][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[292][0]; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[291][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[291][0]; }
}
PHP:
new LaEmecar = GetPlayerVehicleID(playerid);
else if(LaEmeCar(LaEmecar))
