SA-MP Forums Archive
A little 1 error while compiling - 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: A little 1 error while compiling (/showthread.php?tid=655131)



A little 1 error while compiling - Neom - 13.06.2018

E:\Most Wanted Cops and Robbers v1.1\gamemodes\MWCNR.pwn(24) : warning 201: redefinition of constant/macro (symbol "SELECT_OBJECT_PLAYER_OBJECT")
E:\Pwn\pawno\include\YSI\..\YSI_Storage\..\YSI_Cor e\y_utils.inc(427) : warning 201: redefinition of constant/macro (symbol "isnull(%0)")
E:\Most Wanted Cops and Robbers v1.1\gamemodes\MWCNR.pwn(1230) : error 017: undefined symbol "do_not_use_tabsize_0"
E:\Most Wanted Cops and Robbers v1.1\gamemodes\MWCNR.pwn(2980) : warning 219: local variable "Random" shadows a variable at a preceding level
E:\Most Wanted Cops and Robbers v1.1\gamemodes\MWCNR.pwn(313 : warning 219: local variable "Random" shadows a variable at a preceding level
E:\Most Wanted Cops and Robbers v1.1\gamemodes\MWCNR.pwn(4110) : warning 219: local variable "Random" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Re: A little 1 error while compiling - Calisthenics - 13.06.2018

Remove
pawn Код:
#pragma tabsize 0
from script. YSI intentionally returns the error to avoid bad practices.

About warnings:
• SELECT_OBJECT_PLAYER_OBJECT is already defined.
• Include YSI after <a_samp> and if it still gives warning, remove definition of isnull (in the other include or script).
• Random is either global or has been declared in top of block. Use another name for variable.