SA-MP Forums Archive
COLOR_DEADCONNECT pawn errors - 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: COLOR_DEADCONNECT pawn errors (/showthread.php?tid=501584)



COLOR_DEADCONNECT pawn errors - Heaveens - 19.03.2014

Hey Brother Pawn GameText Please Errors Pawn
Quote:

C:\Users\Neslihan\Desktop\NewCnR\gamemodes\NewCnR. pwn(184) : error 017: undefined symbol "COLOR_DEADCONNECT"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Quote:

SetPlayerColor(playerid, COLOR_DEADCONNECT);




Re: COLOR_DEADCONNECT pawn errors - Mriss - 19.03.2014

Do this with other defines

pawn Код:
#define COLOR_DEADCONNECT 0x808080AA



Re: COLOR_DEADCONNECT pawn errors - Equuuuin0X - 19.03.2014

What color do you actually want ? I can give you the code for a specific color.


Re: COLOR_DEADCONNECT pawn errors - Heaveens - 19.03.2014

For Civilian Police And what should I do 2 Which color?


Re: COLOR_DEADCONNECT pawn errors - Equuuuin0X - 19.03.2014

Preferbally red color.

pawn Код:
#define COLOR_DEADCONNECT #0xFF0000AA
Put it on top of your script, below the #include etc.


Re: COLOR_DEADCONNECT pawn errors - Heaveens - 19.03.2014

Errors 1
Quote:

C:\Users\Neslihan\Desktop\NewCnR\gamemodes\NewCnR. pwn(185) : error 035: argument type mismatch (argument 2)




Re: COLOR_DEADCONNECT pawn errors - Equuuuin0X - 19.03.2014

Try this, sorry.

pawn Код:
#define COLOR_DEADCONNECT 0xFF0000AA



Re: COLOR_DEADCONNECT pawn errors - Heaveens - 19.03.2014

Get To Work Thanks