SA-MP Forums Archive
Please Help Me Guys - 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)
+--- Thread: Please Help Me Guys (/showthread.php?tid=613274)



[NOT FIXED :(]Please Help Me Guys - Aagya - 26.07.2016

when i tried to compile new script of "Gammix" i found this error please help me please please please

Quote:

C:\Users\Sunil\Desktop\World War IV (build 7)\pawno\include\spikestrip.inc(264) : warning 201: redefinition of constant/macro (symbol "OnVehicleDamageStatusUpdate")
C:\Users\Sunil\Desktop\World War IV (build 7)\gamemodes\worldwar.pwn(721) : error 021: symbol already defined: "SS_OnGameModeInit"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.




Re: Please Help Me Guys - justjamie - 26.07.2016

Show us line 264 and line 721


Re: Please Help Me Guys - Aagya - 26.07.2016

Quote:

Line 264: zoneTimer,
Line 720: public OnGameModeInit()
Line 721: {

please help me


Re: Please Help Me Guys - Dejan12345 - 26.07.2016

delete one OnGameModeInit


Re: Please Help Me Guys - Aagya - 26.07.2016

Dude this GM have only one OnGameModeInit in script
how can i delete it
and if u have this GM without any bugs and errors then please send it to me please please please


Re: Please Help Me Guys - Dejan12345 - 26.07.2016

Код:
public OnGameModeInit()
{

	SetGameModeText("BA:RP ~ V.0.1.0");
	return 1;
}



Re: Please Help Me Guys - Aagya - 26.07.2016

Didnt worked..
Please Help me


Re: Please Help Me Guys - Dejan12345 - 26.07.2016

copy all your script without gamemode and create new script and replace new with this


Re: Please Help Me Guys - iGetty - 26.07.2016

Quote:
Originally Posted by Aagya
Посмотреть сообщение
when i tried to compile new script of "Gammix" i found this error please help me please please please
If you'd actually read the error line properly, it's stating:

C:\Users\Sunil\Desktop\World War IV (build 7)\pawno\include\spikestrip.inc(264) : warning 201: redefinition of constant/macro (symbol "OnVehicleDamageStatusUpdate")
C:\Users\Sunil\Desktop\World War IV (build 7)\gamemodes\worldwar.pwn(721) : error 021: symbol already defined: "SS_OnGameModeInit"


Try going into "\pawno\include\spikestrip.inc" and deleting line 264. Same with any other includes, double check no other has "OnGameModeInit", such as the spikestrips with the look (SS_)


Re: Please Help Me Guys - Aagya - 26.07.2016

I did as u said but
now having this error

Quote:

C:\Users\Sunil\Desktop\World War IV (build 7)\gamemodes\worldwar.pwn(721) : error 021: symbol already defined: "SS_OnGameModeInit"
C:\Users\Sunil\Desktop\World War IV (build 7)\gamemodes\worldwar.pwn(5851) : error 021: symbol already defined: "FIX_OnVehicleDamageStatus"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.