need help with warnings
#1

i i would like to no how to get rid of all the warning can any one help (+REP) for any help thx


Код:
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(99) : warning 201: redefinition of constant/macro (symbol "COLOR_PINK")
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(104) : warning 201: redefinition of constant/macro (symbol "COLOR_PURPLE")
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(106) : warning 201: redefinition of constant/macro (symbol "COLOR_TAN")
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(107) : warning 201: redefinition of constant/macro (symbol "COLOR_BLUE")
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(110) : warning 201: redefinition of constant/macro (symbol "COLOR_DARKGREY")
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(114) : warning 201: redefinition of constant/macro (symbol "COLOR_BRIGHTRED")
Reply
#2

You have double definations somewhere

Etc:

Quote:

#Define COLOR_TAN
#Define COLOR_TAN

^^
Wrong



Quote:

#Define COLOR_TAN

Right.

Hope it helps
Reply
#3

You need this color codes:

pawn Код:
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIGHTRED 0xFF6347AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_YELLOW2 0xF5DEB3AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
#define COLOR_PURPLE 0xC2A2DAAA
#define COLOR_DBLUE 0x2641FEAA
#define COLOR_ALLDEPT 0xFF8282AA
#define COLOR_NEWS 0xFFA500AA
#define COLOR_OOC 0xE0FFFFAA
#define TEAM_CYAN 1
#define TEAM_BLUE 2
#define TEAM_GREEN 3
#define TEAM_ORANGE 4
#define TEAM_COR 5
#define TEAM_BAR 6
#define TEAM_TAT 7
#define TEAM_CUN 8
#define TEAM_STR 9
#define TEAM_HIT 10
#define TEAM_ADMIN 11
#define OBJECTIVE_COLOR 0x64000064
#define TEAM_GREEN_COLOR 0xFFFFFFAA
#define TEAM_JOB_COLOR 0xFFB6C1AA
#define TEAM_HIT_COLOR 0xFFFFFF00
#define TEAM_BLUE_COLOR 0x8D8DFF00
#define COLOR_ADD 0x63FF60AA
#define TEAM_GROVE_COLOR 0x00D900C8
#define TEAM_VAGOS_COLOR 0xFFC801C8
#define TEAM_BALLAS_COLOR 0xD900D3C8
#define TEAM_AZTECAS_COLOR 0x01FCFFC8
#define TEAM_CYAN_COLOR 0xFF8282AA
#define TEAM_ORANGE_COLOR 0xFF830000
#define TEAM_COR_COLOR 0x39393900
#define TEAM_BAR_COLOR 0x00D90000
#define TEAM_TAT_COLOR 0xBDCB9200
#define TEAM_CUN_COLOR 0xD900D300
#define TEAM_STR_COLOR 0x01FCFF00
#define TEAM_ADMIN_COLOR 0x00808000
#define COLOR_INVIS 0xAFAFAF00
#define COLOR_SPEC 0xBFC0C200
Just put this 0xBFC0C200 !!And then
pawn Код:
#include <a_samp>
#include <sscanf2>
#include <streamer>
#pragma tabsize 0
Reply
#4

MAVERICKS sorry im out topic please help me script please just reply on my topic please. my msn hotmaill is reh_007@hotmail.co.uk and my skye name is reh_007
Reply
#5

Quote:
Originally Posted by !Pumpkin
Посмотреть сообщение
You have double definations somewhere

Etc:



^^
Wrong



Right.

Hope it helps
hey i have gone throw my code and deleted the stuff that was double defined but it still says the same
Reply
#6

Quote:
Originally Posted by scottygraham1990
Посмотреть сообщение
hey i have gone throw my code and deleted the stuff that was double defined but it still says the same
use 0xBFC0C200 not COLOR_!!

Like i said..! it will work!
Reply
#7

MAVERICKS can you please script for me!!
Reply
#8

thx for the help (+REP) added
Reply
#9

You need to #define what color your tags really is..

Like: #Define COLOR_BLUE COLORCODEHERE

(I think, lol)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)