[AJUDAA] Erro ao compilar o GM!! -
tivin - 20.04.2011
Gente, tava ajeitando o GM aqui, quando fui compilar deu q o Pawno Compiler Library sei lб teve q ser fechado, por que isso ?
Re: [AJUDAA] Erro ao compilar o GM!! -
Diogo_Bras - 20.04.2011
tivin, poste aqui o ъltimo sistema que vocк colocou no gamemode (provavelmente foi isso que afetou o gamemode e que impediu que o Pawno compilasse corretamente).
Re: [AJUDAA] Erro ao compilar o GM!! -
tivin - 20.04.2011
eu tinha posto outra codigo desse pra outra cidade no meu gm:
Код:
if(strcmp(cmdtext, "/AeroLV", true) == 0) {
if(Arena[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "ERRO: Vocк sу pode sair daqui apуs morrer.!");
if(IsPlayerInAnyVehicle(playerid)) {
new VehicleID;
VehicleID = GetPlayerVehicleID(playerid);
GameTextForPlayer(playerid,"~w~Bem Vindo ao AeroLV", 3570, 10);
SetVehiclePos(VehicleID,21508.4031,1449.0800,10.8494);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "[TELEPORTE]*** %s foi para LV Aero( /AeroLV )", pname);
SendClientMessageToAll(COLOR_NOVO, string);
SetPlayerInterior(playerid,0);
}
else{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1508.4031,1449.0800,10.8494);
}
return 1;
}
aн modifiquei um poco, pus pra LV, era pra LS
Re: [AJUDAA] Erro ao compilar o GM!! -
Macintosh - 20.04.2011
Talvez alguma chave que vocк abriu e esqueceu de fechar ou fechou e esqueceu de abrir.
Re: [AJUDAA] Erro ao compilar o GM!! -
tivin - 20.04.2011
mais ja dei CTRL Z atй minha ultima ediзгo lб e n mudo nada continua dando isso :S
Re: [AJUDAA] Erro ao compilar o GM!! -
Carl_Thuse - 20.04.2011
Й porque vocк deu muita bobeira, ele fico triste e foi embora..
Й pq os erros sгo mt graves e nгo podem ser lidos assim '-'
Re: [AJUDAA] Erro ao compilar o GM!! -
Macintosh - 20.04.2011
Procure por algum backup que vocк fez, se vocк fez.
E delete este que agora ficou inutilizado.
Re: [AJUDAA] Erro ao compilar o GM!! -
tivin - 20.04.2011
temзo
Re: [AJUDAA] Erro ao compilar o GM!! -
Shadoww5 - 20.04.2011
Pode ser atй mesmo tem alguma linha fora do lugar. Tenta colocar isso la:
pawn Код:
if(strcmp(cmdtext, "/AeroLV", true) == 0)
{
if(Arena[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "ERRO: Vocк sу pode sair daqui apуs morrer.!");
if(IsPlayerInAnyVehicle(playerid))
{
new VehicleID;
VehicleID = GetPlayerVehicleID(playerid);
GameTextForPlayer(playerid,"~w~Bem Vindo ao AeroLV", 3570, 10);
SetVehiclePos(VehicleID,21508.4031,1449.0800,10.8494);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "[TELEPORTE]*** %s foi para LV Aero( /AeroLV )", pname);
SendClientMessageToAll(COLOR_NOVO, string);
SetPlayerInterior(playerid,0);
}
else
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1508.4031,1449.0800,10.8494);
}
return 1;
}
Re: [AJUDAA] Erro ao compilar o GM!! -
Ricop522 - 20.04.2011
pawn Код:
if(strcmp(cmdtext, "/AeroLV", true) == 0)
{
if(Arena[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "ERRO: Vocк sу pode sair daqui apуs morrer.!");
if(IsPlayerInAnyVehicle(playerid))
{
new pname[MAX_PLAYER_NAME];
GameTextForPlayer(playerid,"~w~Bem Vindo ao AeroLV", 4000, 10);
SetVehiclePos(GetPlayerVehicleID(playerid), 21508.4031,1449.0800,10.8494);
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "[TELEPORTE] * %s foi para o aйro de LV (/aerolv) *", pname);
SendClientMessageToAll(COLOR_NOVO, string);
SetPlayerInterior(playerid, 0);
return 1;
}
else
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1508.4031,1449.0800,10.8494);
return 1;
}
return 1;
}