SA-MP Forums Archive
Help ~ 26Errors while compiling.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help ~ 26Errors while compiling.. (/showthread.php?tid=97302)



Help ~ 26Errors while compiling.. - Ayoub-B - 13.09.2009

firstly i got that playertopoint error, then fixed it lately, when i try to compile, i get this :


Код:
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(2216) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(2245) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(2281) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(2282) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(2309) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(2794) : error 021: symbol already defined: "IsAtCarrental"
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(3228) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(3774) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(3972) : error 004: function "RemoveRoadblock" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4017) : warning 235: public function lacks forward declaration (symbol "GateClose7")
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4061) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4062) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4233) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4334) : error 004: function "ProxDetectorS" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4532) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4600) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4631) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4632) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4678) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4679) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4709) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4710) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4716) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4717) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4740) : error 004: function "BusrouteEnd" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4741) : error 004: function "BusrouteEnd" is not implemented
C:\DOCUME~1\Ayoub\Bureau\SAMP02~1.WIN\GAMEMO~1\dcrp.pwn(4742) : error 004: function "BusrouteEnd" is not implemented

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


26 Errors.
Help please, thank you


Re: Help ~ 26Errors while compiling.. - Sayaron - 13.09.2009

Show us the lines you get the errors from, its not easy to help without knowing the problem


Re: Help ~ 26Errors while compiling.. - Correlli - 13.09.2009

You're copying without knowing anything.
IsAtCarrental is already defined, GateClose7 needs to be forwarded and other functions are used in the script but they're not implemented.
Make sure you didn't missed any bracket.


Re: Help ~ 26Errors while compiling.. - Ov3rl0rd - 13.09.2009

26 errors = 99% of the time means bracket error


Re: Help ~ 26Errors while compiling.. - Kanji_Suzuki - 13.09.2009

Hmmm i think its that you have the function "SafeGivePlayerMoney" or what ever it is
but your dont using it
if you get what i mean


Re: Help ~ 26Errors while compiling.. - Ayoub-B - 13.09.2009

SafeGivePlayerMoney(i, value);
SafeResetPlayerWeapons(i);

SafeGivePlayerMoney(playerid,PlayerInfo[playerid][pCash]); tactical[playerid] = 0; swat[playerid] = 0; authorizeswat = 0; authorizetactical = 0;

SafeGivePlayerMoney(i, Jackpot);

public GateClose7()


if (BusrouteEast[playerid][0] != 0) BusrouteEnd(playerid, BusrouteEast[playerid][1]);
else if (BusrouteWest[playerid][0] != 0) BusrouteEnd(playerid, BusrouteWest[playerid][1]);
else (BusrouteEnd(playerid, 0);


{
RemoveRoadblock(playerid);
}


{
if (ProxDetectorS(20, killerid, playerid))
{

Thanks, still getting the errors thought..


Re: Help ~ 26Errors while compiling.. - Ayoub-B - 13.09.2009

up..