14.10.2013, 09:18
pawn Code:
Error
Line
pawn Код:
else if(listitem == 5)
{
if(!IsPlayerInAnyVehicle(playerid))
{
if(GetPVarType(playerid, "pBoomBox"))
{
SendClientMessage(playerid, COLOR_WHITE, "You have turned off the boom box.");
foreach(Player, i) if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "pBoomBoxArea"))) StopAudioStreamForPlayerEx(i);
DeletePVar(playerid, "pBoomBoxStation");
}
else
{
StopAudioStreamForPlayerEx(playerid);
}
}
else
{
format(string, sizeof(string), "* %s da tat dai phat thanh.", GetPlayerNameEx(playerid), string);
ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
foreach(Player, i) if(GetPlayerVehicleID(i) == GetPlayerVehicleID(playerid))
{
StopAudioStreamForPlayerEx(i);
}
stationidv[GetPlayerVehicleID(playerid)][0] = 0;
}
}
}
}
Код:
error 029: invalid expression, assumed zero error 001: expected token: ";", but found "]" error 001: expected token: ";", but found "[" fatal error 107: too many error messages on one line
Код:
stationidv[GetPlayerVehicleID(playerid)][0] = 0;