How to fix 1 error and 1 warning? [+Rep]
#1

warning 202: number of arguments does not match definition
error 004: function "OnPlayerUpdate" is not implemented

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

Can you paste The above and the below publics please?
Reply
#3

(13433) : warning 202: number of arguments does not match definition

SetPlayerPos(playerid, -688.1378,946.8740,13.0313,0.8827);

(13797) : error 004: function "OnPlayerUpdate" is not implemented

OnPlayerUpdate(playerid);
Reply
#4

Error 13433 = SetPlayerPos(playerid, -688.1378,946.8740,13.0313);

Error 13797 = Your missing a bracket in the function above. Post the last few lines of the public like I wanted or ry using the link below
http://boylett.com/scripts/autoindent.php
Reply
#5

pawn Код:
public OnPlayerUpdate(playerid)
{
    return 1;
}

// Somewhere on your script
OnPlayerUpdate(playerid);
However, you do not need to call it. It is called enough times already.
Reply


Forum Jump:


Users browsing this thread: