invalid function??
#1

pawn Код:
if(Kills == 5)
        {
            format(string,sizeof(string),"*** {FF0000}%s(%d) is on a killing spree with {ffffff}%d {FF0000}kills!",playername(killerid),killerid,Kills);
        }

Код:
(1598) : error 012: invalid function call, not a valid address
(1598) : warning 215: expression has no effect
(1598) : error 001: expected token: ";", but found ")"
(1598) : error 029: invalid expression, assumed zero
(1598) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664
1598 is the format line.
Reply
#2

Can we see how "playername" is declared? You most likely just had to put "playername" instead of "playername(killerid)".

Edit: no problem! =)
Reply
#3

Yeah, that fixed it. Thanks a lot. + Rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)