Compile Problem
#1

Hello, I have a problem (or many) :

Код:
E:\SaMp\Gm's\GM\pawno\include\streamer.inc(381) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(2420) : error 004: function "SafeResetPlayerWeapons" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGamingpwn(2448) : error 004: function "SafeResetPlayerWeapons" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(4090) : error 004: function "RemoveRoadblock" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(4153) : error 004: function "SafeResetPlayerWeapons" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(4778) : error 004: function "BusrouteEnd" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(4779) : error 004: function "BusrouteEnd" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(4780) : error 004: function "BusrouteEnd" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5256) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5262) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5271) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5280) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5289) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5298) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5307) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5316) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5325) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5334) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5386) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5392) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5402) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5411) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5420) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5429) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5438) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5447) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented
E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5456) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented

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


26 Errors.
Linii:

2420 :
pawn Код:
SafeResetPlayerWeapons(i);
2448 :
pawn Код:
SafeResetPlayerWeapons(i);
4090 :
pawn Код:
RemoveRoadblock(playerid);
4153 :
pawn Код:
SafeResetPlayerWeapons(playerid);
4778 :
pawn Код:
if (BusrouteEast[playerid][0] != 0) BusrouteEnd(playerid, BusrouteEast[playerid][1]);
4779 :
pawn Код:
else if (BusrouteWest[playerid][0] != 0) BusrouteEnd(playerid, BusrouteWest[playerid][1]);
4780 :
pawn Код:
else BusrouteEnd(playerid, 0);
5256 :
pawn Код:
AdvertiseToPlayersAtBusStop(1979.7369,-2171.4861,13.5363, 0);
5262 :
pawn Код:
AdvertiseToPlayersAtBusStop(2227.6953,-2201.9053,13.5164, 0);
5271 :
pawn Код:
AdvertiseToPlayersAtBusStop(2719.9419,-2030.2104,13.5076, 0);
5280 :
pawn Код:
AdvertiseToPlayersAtBusStop(2470.8059,-1926.7136,13.5125, 0);

5289 :
pawn Код:
AdvertiseToPlayersAtBusStop(2348.0249,-1695.8247,13.5286, 0);
5298 :
pawn Код:
AdvertiseToPlayersAtBusStop(2422.4092,-1251.1915,23.9176, 0);
5307 :
pawn Код:
AdvertiseToPlayersAtBusStop(2717.7463,-1218.8141,64.9276, 0);
5316 :
pawn Код:
AdvertiseToPlayersAtBusStop(2173.1165,-1114.3069,25.4259, 0);
5325 :
pawn Код:
AdvertiseToPlayersAtBusStop(2028.4354,-1259.1379,23.9287, 0);
5334 :
pawn Код:
AdvertiseToPlayersAtBusStop(1203.5101,-1833.5771,13.4946, 0);
5386 :
pawn Код:
AdvertiseToPlayersAtBusStop(1826.8738,-1634.5306,13.5588, 1);
5392 :
pawn Код:
AdvertiseToPlayersAtBusStop(1856.7260,-1211.7167,20.3898, 1);
5402 :
pawn Код:
AdvertiseToPlayersAtBusStop(1208.0479,-929.9481,42.9049, 1);
5411 :
pawn Код:
AdvertiseToPlayersAtBusStop(1119.0096,-1137.8805,23.7597, 1);
5420 :
pawn Код:
AdvertiseToPlayersAtBusStop(1443.0234,-1028.7131,23.8281, 1);
5429 :
pawn Код:
AdvertiseToPlayersAtBusStop(526.6218,-1480.9631,14.5567, 1);
5438 :
pawn Код:
AdvertiseToPlayersAtBusStop(443.9078,-1724.8008,10.0896, 1);
5447 :
pawn Код:
AdvertiseToPlayersAtBusStop(836.2728,-1788.8121,13.9260, 1);
5456 :
pawn Код:
AdvertiseToPlayersAtBusStop(1508.7136,-1735.5184,13.4921, 1);
So, who can help me?
Thanks
Reply
#2

Show us the stocks(where you defined them) of these functions.
Reply
#3

Where can I found those Stocks ?
P.S: I'm new in Pawno.
Reply
#4

First warning means that you are editing a pre 0.3e script, which probably means you need to update your server. The rest means that you copied a part of script without copying its dependencies as well. Also read point 2 in my signature.
Reply
#5

Yeah, i know what I've done, but I don't know how to solve this Errors.
Someone?
Reply
#6

As Vince said, update your server package by downloading the latest version from sa-mp.com.
And from where are you copying the script?
You will have to find the functions(where they are defined in a stock(most probably) ) which are giving you errors.
Reply
#7

I don't have the mod where from I extract the scripts...
Someone can define me that?
Reply
#8

Tell us what the functions will do when you use it.
Reply
#9

you lack a hug in your script
Reply
#10

Solved, Thanks all.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)