help . warning 235: public
#1

pawn Код:
forward CloseDoorfbiii();
forward CloseDoorfbii();
pawn Код:
public CloseDoorFbiii()// add by achhraf
{
    MoveObject(doorFbiii, 239.57629, 116.40170, 1002.21411, 3);
    return 1;
}
public CloseDoorFbii()// add by achhraf
{
    MoveObject(doorFbii, 253.22740, 107.98210, 1002.21539, 3);
    return 1;
}
and i get this warning

pawn Код:
warning 235: public function lacks forward declaration (symbol "CloseDoorFbiii")
warning 235: public function lacks forward declaration (symbol "CloseDoorFbii")}
Reply
#2

use :-
pawn Код:
forward CloseDoorfbiii(playerid);
forward CloseDoorfbii(playerid);

public CloseDoorFbiii(playerid)// add by achhraf
{
    MoveObject(doorFbiii, 239.57629, 116.40170, 1002.21411, 3);
    return 1;
}
public CloseDoorFbii(playerid)// add by achhraf
{
    MoveObject(doorFbii, 253.22740, 107.98210, 1002.21539, 3);
    return 1;
}
Reply
#3

Quote:
Originally Posted by Avi Raj
Посмотреть сообщение
use :-
pawn Код:
forward CloseDoorfbiii(playerid);
forward CloseDoorfbii(playerid);

public CloseDoorFbiii(playerid)// add by achhraf
{
    MoveObject(doorFbiii, 239.57629, 116.40170, 1002.21411, 3);
    return 1;
}
public CloseDoorFbii(playerid)// add by achhraf
{
    MoveObject(doorFbii, 253.22740, 107.98210, 1002.21539, 3);
    return 1;
}
nothing fix
Reply
#4

pawno uses sensitive case. Capital letters make the difference, fix them. And you don't have to make it with (playerid), let it be like () as before.
Reply
#5

use this now :-
pawn Код:
forward closedoorfbi(playerid);
forward closedoorfbii(playerid);

public closedoorfbi(playerid)// add by achhraf
{
    MoveObject(doorFbiii, 239.57629, 116.40170, 1002.21411, 3);
    return 1;
}

public closedoorfbii(playerid)// add by achhraf
{
    MoveObject(doorFbii, 253.22740, 107.98210, 1002.21539, 3);
    return 1;
}
and show me : doorFbii code
Reply
#6

pawn Код:
forward CloseDoorFbii(playerid)
public CloseDoorFbiii(playerid)// add by achhraf
{
    MoveObject(doorFbiii, 239.57629, 116.40170, 1002.21411, 3);
    return 1;
}
forward CloseDoorFbii(playerid)
public CloseDoorFbii(playerid)// add by achhraf
{
    MoveObject(doorFbii, 253.22740, 107.98210, 1002.21539, 3);
    return 1;
}
should work.
Reply
#7

Quote:
Originally Posted by HurtLocker
Посмотреть сообщение
pawno uses sensitive case. Capital letters make the difference, fix them. And you don't have to make it with (playerid), let it be like () as before.
thank you !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)