Posts: 511
Threads: 122
Joined: Jan 2013
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")}
Posts: 772
Threads: 79
Joined: Dec 2012
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;
}
Posts: 511
Threads: 122
Joined: Jan 2013
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
Posts: 568
Threads: 28
Joined: Dec 2012
Reputation:
0
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.
Posts: 772
Threads: 79
Joined: Dec 2012
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
Posts: 511
Threads: 122
Joined: Jan 2013
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 !