[AJUDA] Erro na compilaзгo.
#1

Bom quando compilo com a versгo Antiga 3C somente contem um warning:

Erro:

Quote:

C:\Users\Kewin\Desktop\BPH 1.0\GM PH1\gamemodes\bph.pwn(11949) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664

Code Completo:

Quote:

{
DeleteClosestStrip(playerid);
Player[playerid][pCorrente] = 0;
RemoveCorrente(playerid);
}
}

Linha:

Quote:

DeleteClosestStrip(playerid);

__________________________________________________ ____________________________________________

Atй ai Ok , porйm eu passo os Plugins , Includes e Filters para a nova versгo 3d e quando compilo os erros sгo diferentes :

Quote:

C:\Users\Kewin\Desktop\samp03dsvr_R2_win32\gamemod es\bph.pwn(26890) : error 017: undefined symbol "frename"
C:\Users\Kewin\Desktop\samp03dsvr_R2_win32\gamemod es\bph.pwn(26899) : error 017: undefined symbol "frename"
C:\Users\Kewin\Desktop\samp03dsvr_R2_win32\gamemod es\bph.pwn(48729) : warning 203: symbol is never used: "encode_tires"
C:\Users\Kewin\Desktop\samp03dsvr_R2_win32\gamemod es\bph.pwn(48729) : warning 203: symbol is never used: "laserInfo"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.


Nгo contйm nada nas linhas dos warnings a nгo ser um "}" e as outras linhas sгo:


Quote:

{
new vehicleid = GetOwnedVehicleID(giveid);
format(VeiculoNome[vehicleid], MAX_PLAYER_NAME, tmp2);
format(vOwner[vehicleid], MAX_PLAYER_NAME, tmp2);
new newcarro[256];
format(newcarro,256,"/RPG/carros/%s.ini",tmp2);
frename(oldcarro, newcarro);
}

format(thestring,128,"-OperServ- Vocк renomeou a conta '%s' para '%s'.", tmp, tmp2);
SendClientMessage(playerid, COLOR_YELLOW, thestring);
format(thestring,128,"%s renomeou a conta '%s' para '%s'.", ReturnPlayer(playerid), tmp, tmp2);
WriteLog("Admins2", thestring);
GivePlayerGP(giveid,-100000);
OnPlayerSave(giveid);
frename(oldfile, file);
SetPlayerName(giveid, tmp2);
format(Player[giveid][pName],MAX_PLAYER_NAME,tmp2);
if(Player[giveid][pMember] > 0)
{


Linha 1:


Quote:

frename(oldcarro, newcarro);

Linha 2 :

Quote:

frename(oldfile, file);

Reply


Messages In This Thread
[AJUDA] Erro na compilaзгo. - by Swain - 16.12.2011, 19:46
Re: [AJUDA] Erro na compilaзгo. - by Laercio - 16.12.2011, 20:08
Re: [AJUDA] Erro na compilaзгo. - by Swain - 16.12.2011, 21:07
Re: [AJUDA] Erro na compilaзгo. - by Gustavo_IdelHost - 16.12.2011, 22:52
Re: [AJUDA] Erro na compilaзгo. - by Swain - 17.12.2011, 10:10
Re: [AJUDA] Erro na compilaзгo. - by GustavoBonomo - 17.12.2011, 10:18

Forum Jump:


Users browsing this thread: 1 Guest(s)