Hlep with this function i think
#1

error 035: argument type mismatch (argument 2)

what the hell that mean i have been getting those error alot lately but what is it and how can i fix it somoen giv eme a example please
Reply
#2

Lolz, can we see the code ?
Reply
#3

Post code please? You showed the error, but we need error+code.
Reply
#4

ok i will post code but tell me what you did after you post back and it seems liek it only happen on my sendclientmessage piece

pawn Код:
SendClientMessage(playerid, "#COL_YELLOW", "[ACCOUNT] Your account has been created, please login now!");
Reply
#5

I see you're using the new 0.3c colour codes.

It should be formatted like this:

pawn Код:
SendClientMessage(playerid, -1, ""#COL_YELLOW"[ACCOUNT] Your account has been created, please login now!");
Use that line ^

If you just want it the old fashion way, use
pawn Код:
SendClientMessage(playerid,COLOR_YELLOW,"[ACCOUNT] Your account has been created, please login now!");
Reply
#6

Yours:

Код:
SendClientMessage(playerid, "#COL_YELLOW", "[ACCOUNT] Your account has been created, please login now!");
Try:

Код:
SendClientMessage(playerid, COL_YELLOW, "[ACCOUNT] Your account has been created, please login now!");
To late. lol
Reply
#7

that is 3.c easy color i am supposed to use it like that so the post sayes i think page 3 or 4 or scripting tut

and the one that saying try still won't work
Reply
#8

https://sampforum.blast.hk/showthread.php?tid=196360

this where i get my colors from
Reply
#9

Quote:
Originally Posted by Notorious29
Посмотреть сообщение
that is 3.c easy color i am supposed to use it like that so the post sayes i think page 3 or 4 or scripting tut

and the one that saying try still won't work
Just do what ****** say's m8.
Reply
#10

Quote:
Originally Posted by Notorious29
Посмотреть сообщение
that is 3.c easy color i am supposed to use it like that so the post sayes i think page 3 or 4 or scripting tut

and the one that saying try still won't work
Read my reply on the previous page. Also, remember to have #define COL_YELLOW "{F3FF02}" at the top of your script for 0.3c colours.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)