SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 08/04/2017, 12:16 PM   #1
ElMaestro123
Big Clucker
 
Join Date: Feb 2017
Location: Stuck in the middle of nowhere.
Posts: 105
Reputation: 0
Default ZCMD Redifinition of Constant/Macro warning

C:\Users\ASUS\Desktop\pawno\z\\pawno\include\zcmd. inc(1 : warning 201: redefinition of constant/macro (symbol "COMMAND:%1(%2)")
C:\Users\ASUS\Desktop\pawno\z\pawno\include\zcmd.i nc(21) : warning 201: redefinition of constant/macro (symbol "CMD:%1(%2)")

i get these warnings, lines are commented and i haven't defined this anywhere in script.
this is caused by using zcmd. how to fix warnings?
ElMaestro123 is offline   Reply With Quote
Old 08/04/2017, 01:01 PM   #2
grymtn
Huge Clucker
 
Join Date: Jun 2013
Posts: 271
Reputation: 26
Default Re: ZCMD Redifinition of Constant/Macro warning

looks like they are defined in your script too along with inside zcmd.inc these warnings doesnt mean much tho you wouldnt have problem with compiling and using your compiled amx file
grymtn is offline   Reply With Quote
Old 08/04/2017, 02:13 PM   #3
NealPeteros
Gangsta
 
NealPeteros's Avatar
 
Join Date: Dec 2015
Location: GetPlayerCountry(playerid);
Posts: 654
Reputation: 51
Default Re: ZCMD Redifinition of Constant/Macro warning

Is #define COMMAND:%1(%2) and #define CMD:%1(%2) defined in your gamemode? If so, you may remove them since you already have zcmd to define these functions.
NealPeteros 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
warning 201: redefinition of constant/macro (File::%1) - Foreach Brandon_More Scripting Help 4 16/01/2014 11:39 AM
suddenly getting warning: redefinition of constant/macro Donvalley Scripting Help 1 25/06/2013 05:26 AM
[Ajuda] warning 201: redefinition of constant/macro SonicPaintballer PortuguÍs/Portuguese 6 11/02/2013 03:58 AM
warning 201: redefinition of constant/macro (symbol "string") M3mPHi$_S3 Scripting Help 3 29/01/2013 06:29 AM
warning 201: redefinition of constant/macro Konstantinos Scripting Help 9 13/12/2012 08:35 PM


All times are GMT. The time now is 11:38 AM.


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