SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 13/06/2018, 07:26 PM   #1
Neom
Little Clucker
 
Join Date: Jun 2018
Posts: 17
Reputation: 0
Default A little 1 error while compiling

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 (c) 1997-2006, ITB CompuPhase


1 Error.
Neom is online now   Reply With Quote
Old 13/06/2018, 07:31 PM   #2
Calisthenics
Little Clucker
 
Join Date: May 2018
Posts: 40
Reputation: 4
Default Re: A little 1 error while compiling

Remove
Code:
#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.
Calisthenics is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while compiling Dejan12345 Server Support 1 05/08/2016 01:27 PM
Error while compiling Dejan12345 Scripting Help 6 05/08/2016 10:49 AM
help error while compiling REP+ Dejan12345 Scripting Help 3 14/07/2016 03:20 PM
Compiling error: (3159) : error 025: function heading differs from prototype Joeyboy99 Scripting Help 2 10/08/2012 07:23 PM
error compiling TheArcher Scripting Help 2 07/04/2012 02:13 PM


All times are GMT. The time now is 06:56 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.