16.12.2011, 19:46
Bom quando compilo com a versгo Antiga 3C somente contem um warning:
Erro:
Code Completo:
Linha:
__________________________________________________ ____________________________________________
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 :
Nгo contйm nada nas linhas dos warnings a nгo ser um "}" e as outras linhas sгo:
Linha 1:
Linha 2 :
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 |
Quote:
{ DeleteClosestStrip(playerid); Player[playerid][pCorrente] = 0; RemoveCorrente(playerid); } } |
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); |
Quote:
frename(oldfile, file); |