Help me with this Error :(
#1

Hello guys..
I got some errors at my script

C:\Documents and Settings\Administrator\Desktop\NGRP 0.3x\gamemodes\NGRP_dfu.pwn(302 : error 025: function heading differs from prototype
C:\Documents and Settings\Administrator\Desktop\NGRP 0.3x\gamemodes\NGRP_dfu.pwn(3029) : error 025: function heading differs from prototype
C:\Documents and Settings\Administrator\Desktop\NGRP 0.3x\gamemodes\NGRP_dfu.pwn(3036) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Administrator\Desktop\NGRP 0.3x\gamemodes\NGRP_dfu.pwn(3036) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\NGRP 0.3x\gamemodes\NGRP_dfu.pwn(3036) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\NGRP 0.3x\gamemodes\NGRP_dfu.pwn(3036) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\NGRP 0.3x\gamemodes\NGRP_dfu.pwn(3036) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Administrator\Desktop\NGRP 0.3x\gamemodes\NGRP_dfu.pwn(3036) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\NGRP 0.3x\gamemodes\NGRP_dfu.pwn(3036) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.



Please if you can fix it help me...
waiting for reply.
Reply
#2

Show your Error lines
Reply
#3

C:\Documents and Settings\Administrator\Desktop\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(302 : error 025: function heading differs from prototype

C:\Documents and Settings\Administrator\Desktop\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3029) : error 025: function heading differs from prototype

C:\Documents and Settings\Administrator\Desktop\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : error 012: invalid function call, not a valid address

C:\Documents and Settings\Administrator\Desktop\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : warning 215: expression has no effect

C:\Documents and Settings\Administrator\Desktop\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : warning 215: expression has no effect

C:\Documents and Settings\Administrator\Desktop\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : warning 215: expression has no effect

C:\Documents and Settings\Administrator\Desktop\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : error 001: expected token: ";", but found ")"

C:\Documents and Settings\Administrator\Desktop\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Administrator\Desktop\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : fatal error 107: too many error messages on one line
Reply
#4

Show us some script lines.
Reply
#5

Okay
Reply
#6

// Callbacks
forward OnQueryFinish(resultid, extraid, handleid);
public OnQueryFinish(resultid, extraid, handleid)
{


cache_get_data(rows, fields, MainPipeline);
}
Reply
#7

Goto pawno\include directory and open a_mysql.inc file. At the end, it should have:
pawn Код:
forward OnQueryFinish( /* PARAMETERS HERE */ );
Those parameters changed in some version and they're not the same as the above.

Copy the parameters and then just use:
pawn Код:
public OnQueryFinish( /* THE PARAMETERS HERE */ )
{
    // rest
Reply
#8

nvm!!
Reply
#9

Error 025 means, that your function parameters are not same, what they are in a_MySQL.inc file.
And why you are forwarding OnQueryFinish function?
https://sampwiki.blast.hk/wiki/MySQL
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)