willards 0 Odesláno: 24. Prosinec, 2014 Share Odesláno: 24. Prosinec, 2014 sestavit .amx dává tyto 2 chyby \Gamemodes\BRG.pwn(77507) : warning 203: symbol is never used: "Entrou" \Gamemodes\BRG.pwn(77507) : warning 203: symbol is never used: "ServerMoneyInit" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. e ao iniciar o samp-server.exe fica assim Link to comment Share on other sites More sharing options...
0 Globální moderátor Hip 191 Odesláno: 24. Prosinec, 2014 Globální moderátor Share Odesláno: 24. Prosinec, 2014 nepoužíváš Entrou a ServerMoneyInit stačilo by si to přečíst Link to comment Share on other sites More sharing options...
0 willards 0 Odesláno: 24. Prosinec, 2014 Author Share Odesláno: 24. Prosinec, 2014 nepoužíváš Entrou a ServerMoneyInit stačilo by si to přečíst tady je můj .pwn soubor se podívat na to? Link: https://mega.co.nz/#!75BzGKpI!wZZlfL9j1d0gNVZrQ_g8ljBHCKMyx4WV3CMejMdHODQ Link to comment Share on other sites More sharing options...
0 Globální moderátor Hip 191 Odesláno: 24. Prosinec, 2014 Globální moderátor Share Odesláno: 24. Prosinec, 2014 prostě vymaž definici těch 2 proměnejch .... Link to comment Share on other sites More sharing options...
0 w.endelin 15 Odesláno: 24. Prosinec, 2014 Share Odesláno: 24. Prosinec, 2014 prostě vymaž definici těch 2 proměnejch .... Jojo, ale koukni na konzoli... To by mu s warnama psát nemělo.. PS: willards: máš nahozenej plugin "streamer"? Link to comment Share on other sites More sharing options...
0 Globální moderátor Hip 191 Odesláno: 24. Prosinec, 2014 Globální moderátor Share Odesláno: 24. Prosinec, 2014 ať vyřeší warningy, třeba se to zázračným způsobem spraví Link to comment Share on other sites More sharing options...
0 willards 0 Odesláno: 24. Prosinec, 2014 Author Share Odesláno: 24. Prosinec, 2014 Chyba je již nyní k chybě (WL 203: symbol je nikdy použít: "ServerMoneyInit"), je stále ještě není, protože to v souboru .pwn by mělo v tomto pluginy to jsou moje pluginy: #include <a_samp> //#include <Dini> Colocando Sistema DOF2 #include <dof2> // Dof2 modificada com a opção Converter Ativada! '1' #include <streamer> #include <servermoneyGM> #include <seif_walk> #include <PGD> #include <SII> //#include <F_Streamer> Myslím si, že to takto: #include <servermoneyGM> #define CallLoop(%1,%2) for(new %1; %1 < %2; %1++) #define CALLBACK_AMOUNT 500 new SERVERSIDETIMER; new ServerSideCash[MAX_PLAYERS]; /*public OnGameModeInit() { ServerMoneyInit(); return GMInit(); } public OnGameModeExit() { ServerMoneyExit(); return GMExit(); }*/ forward GMInit(); forward GMExit(); ServerMoneyInit() { SERVERSIDETIMER=SetTimer("ServerMoneyCB",1000,true); return 1; } ServerMoneyExit() { KillTimer(SERVERSIDETIMER); return 1; } forward ServerMoneyCB(); public ServerMoneyCB() { CallLoop(ServerSidep,MAX_PLAYERS) { if(IsPlayerConnected(ServerSidep)) { if(GetPlayerMoney(ServerSidep) != ServerSideCash[serverSidep]) { new H4xc4sh=GetPlayerMoney(ServerSidep); H4xc4sh=H4xc4sh-ServerSideCash[serverSidep]; //if(H4xc4sh > CALLBACK_AMOUNT) OnPlayerHaveExtraCash(ServerSidep,H4xc4sh); } GivePlayerMoney(ServerSidep,-GetPlayerMoney(ServerSidep)); GivePlayerMoney(ServerSidep,ServerSideCash[serverSidep]); } } return 1; } forward GivePlayerMoneyEx(playerid,cashgiven); public GivePlayerMoneyEx(playerid,cashgiven) { ServerSideCash[playerid]=ServerSideCash[playerid]+cashgiven; return 1; } forward ResetPlayerMoneyEx(playerid); public ResetPlayerMoneyEx(playerid) { ServerSideCash[playerid]=0; return 1; } forward GetPlayerMoneyEx(playerid); public GetPlayerMoneyEx(playerid) { return ServerSideCash[playerid]; } forward OnPlayerHaveExtraCash(playerid,extraamount); #define GetPlayerMoney GetPlayerMoneyEx #define GivePlayerMoney GivePlayerMoneyEx #define ResetPlayerMoney ResetPlayerMoneyEx /*#define OnGameModeInit GMInit #define OnGameModeExit GMExit*/ Link to comment Share on other sites More sharing options...
0 Kubko 22 Odesláno: 24. Prosinec, 2014 Share Odesláno: 24. Prosinec, 2014 Používaš plugin, ktorý nemáš pripísaný v server.cfg. Check your server.cfg file, you are missing some plugin here. Link to comment Share on other sites More sharing options...
0 Robin 67 Odesláno: 24. Prosinec, 2014 Share Odesláno: 24. Prosinec, 2014 To file or function is not found može znamenať tiež že v tom móde je nejaka zastaralá funkcia ktorá v novej verzií SA:MP neexistuje.. Link to comment Share on other sites More sharing options...
0 w.endelin 15 Odesláno: 24. Prosinec, 2014 Share Odesláno: 24. Prosinec, 2014 To file or function is not found može znamenať tiež že v tom móde je nejaka zastaralá funkcia ktorá v novej verzií SA:MP neexistuje.. Ale tak to by mu nešla kompilace, ne? - já se mu v tom jeho modu hrabat nebudu Link to comment Share on other sites More sharing options...
0 Jakub Kučera 6 Odesláno: 24. Prosinec, 2014 Share Odesláno: 24. Prosinec, 2014 Proč se mi zdá, že je to cizinec, co nám moc nerozumí a překládá to přes Google Translate? (Hádám portugalština?) Link to comment Share on other sites More sharing options...
0 w.endelin 15 Odesláno: 24. Prosinec, 2014 Share Odesláno: 24. Prosinec, 2014 Proč se mi zdá, že je to cizinec, co nám moc nerozumí a překládá to přes Google Translate? (Hádám portugalština?) Koukni se na ten mod co postoval, maj tam Brasil, takže asi brazilec.. Link to comment Share on other sites More sharing options...
0 Jakub Kučera 6 Odesláno: 24. Prosinec, 2014 Share Odesláno: 24. Prosinec, 2014 Koukni se na ten mod co postoval, maj tam Brasil, takže asi brazilec.. No a jak se mluví v Brazílie ? Já mám teda v hlavě zafixováno že portugalsky Link to comment Share on other sites More sharing options...
0 w.endelin 15 Odesláno: 24. Prosinec, 2014 Share Odesláno: 24. Prosinec, 2014 No a jak se mluví v Brazílie ? Já mám teda v hlavě zafixováno že portugalsky Neopravoval jsem, že nemluvěj portugalsky ale upřesňoval jsem toho cizince Link to comment Share on other sites More sharing options...
Dotaz
willards 0
sestavit .amx dává tyto 2 chyby
Link to comment
Share on other sites
13 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now