Jump to content
  • 0

erori


yonutzz

Question

cand compilez un gm imi da urmatoarele erori si nu stiu ce sa le fac, va rog sa ma ajutati

C:\Users\Extasy\Desktop\samp\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "panels" shadows a variable at a preceding level

C:\Users\Extasy\Desktop\samp\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "doors" shadows a variable at a preceding level

C:\Users\Extasy\Desktop\samp\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "lights" shadows a variable at a preceding level

C:\Users\Extasy\Desktop\samp\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "tires" shadows a variable at a preceding level

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(14804) : warning 204: symbol is assigned a value that is never used: "carkey3"

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(20811) : error 021: symbol already defined: "OnPlayerUpdate"

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(20817) : warning 213: tag mismatch

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(36104) : warning 213: tag mismatch

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(36105) : warning 213: tag mismatch

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(65725) : error 025: function heading differs from prototype

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(65726) : error 021: symbol already defined: "JBC_GetPlayerSpeed"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

3 Errors.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Pentru primele 4 warnuri: intra in SpikeStrip.inc si sterge

new panels, doors, lights, tires;
Pentru linia 14804 - sterge de la linia aia new carkey3. Pentru linia 20811 - mai ai odata OnPlayerUpdate in script Liniile 20817, 36104, 36105 - da-ne liniile 65725 - acel public este diferit de forward, de exemplu:
forward FunctieIdioata( playerid, vehicleid, model );
public FunctieIdioata( playerid, vehicleid );
si trebuie sa fie
forward FunctieIdioata( playerid, vehicleid, model );
public FunctieIdioata( playerid, vehicleid, model );

Linia 65726 - ai deja definit JBC_GetPlayerSpeed

Link to comment
Share on other sites

acum imi da urmatoarele erori :sad:

C:\Users\Extasy\Desktop\samp\pawno\include\SpikeStrip.inc(28) : error 017: undefined symbol "panels"

C:\Users\Extasy\Desktop\samp\pawno\include\SpikeStrip.inc(29) : error 017: undefined symbol "tires"

C:\Users\Extasy\Desktop\samp\pawno\include\SpikeStrip.inc(30) : error 017: undefined symbol "panels"

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(20809) : error 021: symbol already defined: "OnPlayerUpdate"

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(20815) : warning 213: tag mismatch

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(36102) : warning 213: tag mismatch

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(36103) : warning 213: tag mismatch

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(65723) : error 025: function heading differs from prototype

C:\Users\Extasy\Desktop\samp\gamemodes\greenzone.pwn(65724) : error 021: symbol already defined: "JBC_GetPlayerSpeed"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

6 Errors.

linile 28:#define ARMOUR_INDEX 4 // this is the index of armour

29: //--------------------------------------crasksystem--------------

30: #define COLOR_1BLUE 0x0000FFFF

65723/65724:stock GetPlayerSpeed(playerid,bool:kmh)

{

iar de la linia 20809 este asta:

public OnPlayerUpdate(playerid)

{

    if(IsPlayerNPC(playerid)) return 0;

    if(dvmon[playerid]==1)

{

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.