Jump to content
  • 0

Problema GameMode Compile


toofast

Question

Atunci cand am incercat sa compilez am primit urmatoarele erori.

[pawn]\samp03\pawno\include\JunkBuster.inc(3097) : error 021: symbol already defined: "OnPlayerEnterRaceCheckpoint"

\samp03\gamemodes\bloodzrp.pwn(2417) : error 025: function heading differs from prototype[/pawn]

Aceasta este linia 2417:

[pawn]public SafeGivePlayerWeapon(plyid, weaponid, ammo)[/pawn]

Linia 3097

[pawn]     GivePlayerMoneyEx(i, value);[/pawn]

Ma poate ajuta cineva? Va multumesc anticipat

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

Dupa ce am executat:

[pawn]\samp03\pawno\include\JunkBuster.inc(3098) : error 021: symbol already defined: "OnPlayerEnterRaceCheckpoint"

\samp03\gamemodes\bloodzrp.pwn(2397) : error 004: function "SafeGivePlayerWeapon" is not implemented

\samp03\gamemodes\bloodzrp.pwn(2418) : error 055: start of function body without function header

\samp03\gamemodes\bloodzrp.pwn(2422) : error 025: function heading differs from prototype

\samp03\gamemodes\bloodzrp.pwn(2422) : error 021: symbol already defined: "JB_GivePlayerWeapon"

\samp03\gamemodes\bloodzrp.pwn(2424) : error 010: invalid function or declaration

\samp03\gamemodes\bloodzrp.pwn(26626) : error 004: function "SafeGivePlayerWeapon" is not implemented

\samp03\gamemodes\bloodzrp.pwn(40301) : error 004: function "SafeGivePlayerWeapon" is not implemented

[/pawn]

Link to comment
Share on other sites

Am ramas cu aceasta eroare:

[pawn]C:\Users\Alex\Desktop\GMBLOODZRP\samp03\pawno\include\JunkBuster.inc(3098) : error 021: symbol already defined: "OnPlayerEnterRaceCheckpoint"

[/pawn]

Linia 3098 din JunkBuster.inc

[pawn]3097. public OnPlayerEnterRaceCheckpoint(playerid)

3098. {[/pawn]

Link to comment
Share on other sites

Am comentat linia 3087 din JunkBuster.inc si a mers. Multumesc pentru ajutor.

/* public OnPlayerEnterRaceCheckpoint(playerid)
// ...
*/

Aceasta a fost rezolvarea.

LAST EDIT:

Am descoperit un bug, cand dau comanda {ffffff} pe server, acesta se inchide. Aveti vreo idee cum pot rezolva?

Link to comment
Share on other sites

Am pus ultimul JunkBuster, luat de aici. Totusi, inca nu l-am testat.

https://code.google.com/p/detoxy-dm/source/browse/scripts/JunkBuster.inc
Il urc imediat pe host si revin. Da, in PuTTy mi-a aparut:
Segmentation fault

Si serverul s-a inchis.

LE: Am facut update la JunkBuster 11, iar atunci cand tastez {ffffff} server-ul se inchide. Ma ajutati va rog frumos?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.