SA-MP Forums Archive
Error when i compile the script - 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: Error when i compile the script (/showthread.php?tid=474438)



Error when i compile the script - FiReMaNStone - 08.11.2013

Код:
C:\Documents and Settings\Administrator\Desktop\Land of Paradise 0.3x\filterscripts\filterscripts\house.pwn(532) : warning 216: nested comment
C:\Documents and Settings\Administrator\Desktop\Land of Paradise 0.3x\filterscripts\filterscripts\house.pwn(738) : warning 203: symbol is never used: "manlift"
C:\Documents and Settings\Administrator\Desktop\Land of Paradise 0.3x\filterscripts\filterscripts\house.pwn(738) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
this is the error and the code

532 code
pawn Код:
/*public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    return 1;
}



Re: Error when i compile the script - Jankingston - 08.11.2013

no problems, warning will not harm your script... Just ignore it.


Re: Error when i compile the script - FiReMaNStone - 08.11.2013

anyway how to fix it


Re: Error when i compile the script - PrivatioBoni - 08.11.2013

The symbol is never used means you have a:
pawn Код:
new [name]
But you've never utilised it. If you remove the new line for manlist and strtok, you should be OK.

As for the nested comment, not sure what that is.


Re: Error when i compile the script - FiReMaNStone - 08.11.2013

okay thank you


Re: Error when i compile the script - Pottus - 08.11.2013

A warning is an error.


Re: Error when i compile the script - Shinji - 16.11.2014

for line 532 you just need to remove "/*"