Error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error (
/showthread.php?tid=472588)
Error -
aDo7 - 29.10.2013
Lines:
PHP код:
forward OnQueryFinish(resultid, extraid, handleid);
PHP код:
cache_get_data(rows, fields, MainPipeline);
Errors
PHP код:
C:\Users\medo pc\Downloads\Server Files\gamemodes\R-RP.pwn(3012) : error 025: function heading differs from prototype
C:\Users\medo pc\Downloads\Server Files\gamemodes\R-RP.pwn(3013) : error 025: function heading differs from prototype
C:\Users\medo pc\Downloads\Server Files\gamemodes\R-RP.pwn(3020) : error 012: invalid function call, not a valid address
C:\Users\medo pc\Downloads\Server Files\gamemodes\R-RP.pwn(3020) : warning 215: expression has no effect
C:\Users\medo pc\Downloads\Server Files\gamemodes\R-RP.pwn(3020) : warning 215: expression has no effect
C:\Users\medo pc\Downloads\Server Files\gamemodes\R-RP.pwn(3020) : warning 215: expression has no effect
C:\Users\medo pc\Downloads\Server Files\gamemodes\R-RP.pwn(3020) : error 001: expected token: ";", but found ")"
C:\Users\medo pc\Downloads\Server Files\gamemodes\R-RP.pwn(3020) : error 029: invalid expression, assumed zero
C:\Users\medo pc\Downloads\Server Files\gamemodes\R-RP.pwn(3020) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
Re: Error -
Misiur - 29.10.2013
The forward is already provided by a_mysql.inc - so remove the forward from your pwn, and make sure the public has same arguments as forward.