A little 1 error while compiling
#1

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.
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)