Jump to content
  • 0

Problema GameMode Compile


Question

Posted

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

12 answers to this question

Recommended Posts

Posted

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]

Posted

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]

Posted

Am facut update JunkBuster.inc dar am aceeasi eroare:

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

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

[/pawn]

Posted

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?

Posted

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?

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.