Ranomd msg help
#1

Error
pawn Код:
C:\Users\Nate\Desktop\Los Santos Gangwar 0.3x\gamemodes\LSGTDM.pwn(219) : error 035: argument type mismatch (argument 1)

pawn Код:
public SendMSG()
{
    new randMSG = random(sizeof(RandomMSG));
    SendClientMessageToAll(COLOR, RandomMSG[randMSG]);
}
Line 219
pawn Код:
SendClientMessageToAll(COL_GREEN, RandomMSG[randMSG]);
Reply
#2

show #define COL_GREEN
Reply
#3

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
show #define COL_GREEN
pawn Код:
#define COL_GREEN "{00FF22}"
Reply
#4

color must be in RGBA
PHP код:
#define COL_GREEN 0x00FF22FF 
Reply
#5

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
color must be in RGBA
PHP код:
#define COL_GREEN 0x00FF22FF 
Ohh ok thank you!
Reply


Forum Jump:


Users browsing this thread: