Quote:
Originally Posted by Day_
Aconselho ir adicionado a diretiva #error em uma linha e caso o compilador chegue nela, apague e adicione ela novamente umas 5 mil linhas abaixo, atй o momento que o compilador parar e nгo informar o erro dela. Quando isto ocorrer saberб em qual parte o erro se encontra.
Boa sorte
|
Cara, deu certo, sу nгo estou identificando o erro, poderiam me ajudar? A primeira linha й referente a linha 26500 da GM e a ultima й a 26600, na linha 26500 se eu colocar
#error o compiler identifica e me avisa do erro mas na 26600 ele trava, logo o erro estб entre essas 100 linhas, correto?
Poderiam me ajudar a identificar?
PHP код:
if (GetPlayerState(playerid) != PLAYER_STATE_DRIVER || !IsEngineVehicle(vehicleid))
return 0;
switch (listitem)
{
case 0:
SetVehicleRadio(vehicleid, "http://87.230.53.17:8000/");
case 1:
SetVehicleRadio(vehicleid, "http://87.230.82.41/");
}
}
return 1;
}
Dialog:Glee(playerid, response, listitem, inputtext[])
{
if (response)
{
new vehicleid = GetPlayerVehicleID(playerid);
if (GetPlayerState(playerid) != PLAYER_STATE_DRIVER || !IsEngineVehicle(vehicleid))
return 0;
switch (listitem)
{
case 0:
SetVehicleRadio(vehicleid, "http://174.36.42.110:8360/");
}
}
return 1;
}
Dialog:MashUps(playerid, response, listitem, inputtext[])
{
if (response)
{
new vehicleid = GetPlayerVehicleID(playerid);
if (GetPlayerState(playerid) != PLAYER_STATE_DRIVER || !IsEngineVehicle(vehicleid))
return 0;
switch (listitem)
{
case 0:
SetVehicleRadio(vehicleid, "http://184.107.17.34:8046/");
case 1:
SetVehicleRadio(vehicleid, "http://67.212.166.210:8413/");
case 2:
SetVehicleRadio(vehicleid, "http://206.217.213.236:8530/");
case 3:
SetVehicleRadio(vehicleid, "http://188.138.124.98:39710/");
case 4:
SetVehicleRadio(vehicleid, "http://87.118.64.205:8040/");
}
}
return 1;
}
Dialog:OldiesRadio(playerid, response, listitem, inputtext[])
{
if (response)
{
new vehicleid = GetPlayerVehicleID(playerid);
if (GetPlayerState(playerid) != PLAYER_STATE_DRIVER || !IsEngineVehicle(vehicleid))
return 0;
switch (listitem)
{
case 0:
Dialog_Show(playerid, 70sRadio, DIALOG_STYLE_LIST, "70's", "181.fm - 70's\nAll Hit 70's\nSky.fm", "Ligar", "Cancelar");
case 1:
Dialog_Show(playerid, 80sRadio, DIALOG_STYLE_LIST, "80's", "Golden Radio Italia 80's\n181.fm - Lite 80's\n181.fm - Awesome 80's\n80's, 80's, 80's! - Sky.fm", "Ligar", "Cancelar");
case 2:
Dialog_Show(playerid, 90sRadio, DIALOG_STYLE_LIST, "90's", "GotRadio - 90's Alternative\nAddictedToRadio.com\n181.fm - Lite 90's\n181.fm - 90's Alternative\n181.fm - Star 90's", "Ligar", "Cancelar");
}
}
return 1;
}
Dialog:70sRadio(playerid, response, listitem, inputtext[])
{
if (response)
{
new vehicleid = GetPlayerVehicleID(playerid);
if (GetPlayerState(playerid) != PLAYER_STATE_DRIVER || !IsEngineVehicle(vehicleid))
return 0;
switch (listitem)
{
case 0:
SetVehicleRadio(vehicleid, "http://108.61.73.118:8066/");