SA-MP Forums Archive
[Errors]Compiling Errors - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Errors]Compiling Errors (/showthread.php?tid=125533)



[Errors]Compiling Errors - SamAlexSam - 04.02.2010

Code:
C:\Users\Sam\Desktop\DRP\gamemodes\DRP.pwn(2182) : error 021: symbol already defined: "OnPlayerEnterVehicle"
C:\Users\Sam\Desktop\DRP\gamemodes\DRP.pwn(4457) : warning 202: number of arguments does not match definition
C:\Users\Sam\Desktop\DRP\gamemodes\DRP.pwn(5773) : error 021: symbol already defined: "OnPlayerPickUpPickup"
C:\Users\Sam\Desktop\DRP\gamemodes\DRP.pwn(7116) : error 021: symbol already defined: "OnPlayerExitVehicle"
C:\Users\Sam\Desktop\DRP\gamemodes\DRP.pwn(44967) : error 025: function heading differs from prototype
C:\Users\Sam\Desktop\DRP\gamemodes\DRP.pwn(44967) : error 021: symbol already defined: "GetDistance"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Line 44967 :
Code:
Float:GetDistance(playerid,Float:x2,Float:y2,Float:z2) {
Line 7116 :
Code:
            	JustStarted[playerid] = 0;
Line 2182
Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
Line 5773 :
Code:
public OnPlayerPickUpPickup(playerid, pickupid)
{



Re: [Errors]Compiling Errors - SamAlexSam - 04.02.2010

And More Erros,
But i leaved em Away :P


Re: [Errors]Compiling Errors - Rubennnnn - 04.02.2010

Remove the ones which says already defined. Looks like you have two of them in the file.