#1

hi,

this is the error : error 035: argument type mismatch (argument 2)

the code is : SendClientMessage(playerid, green, "Welcome to my server!");

anywhere i put this code, show me the error, what to do now
Reply
#2

There is something wrong with "green", you probably defined it wrong, because the type is mismatch (not equal with the SendClientMessage 2nd argument).
Make sure the type is a valid color code like this:
pawn Код:
#define green 0x00FF00FF
Reply
#3

yes robo is right.
at
pawn Код:
#define green
delete it and put this
pawn Код:
#define green 0x20EC39FF   {20EC39} //green color
Reply
#4

thanks, i put green in two time with wrong code, thakns
Reply
#5

Just do what they said, it may fix your problem.
Reply
#6

Quote:
Originally Posted by iThePunisher
Посмотреть сообщение
yes robo is right.
at
pawn Код:
#define green
delete it and put this
pawn Код:
#define green 0x20EC39FF   {20EC39} //green color
Why do you feel the need to repeat exactly what has been said..?

Quote:
Originally Posted by MythicalMarauder
Посмотреть сообщение
Just do what they said, it may fix your problem.
And why are you telling him to do what they said? Clearly he's going to do that. Why wouldn't he?
Reply
#7

Quote:
Originally Posted by MythicalMarauder
Посмотреть сообщение
Just do what they said, it may fix your problem.
For post count
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)