Hlep with this function i think -
Notorious29 - 04.03.2011
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
Re: Hlep with this function i think -
Stigg - 04.03.2011
Lolz, can we see the code ?
Re: Hlep with this function i think -
Marricio - 04.03.2011
Post code please? You showed the error, but we need error+code.
Re: Hlep with this function i think -
Notorious29 - 04.03.2011
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!");
Re: Hlep with this function i think -
grand.Theft.Otto - 04.03.2011
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!");
Re: Hlep with this function i think -
Stigg - 04.03.2011
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
Re: Hlep with this function i think -
Notorious29 - 04.03.2011
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
Re: Hlep with this function i think -
Notorious29 - 04.03.2011
https://sampforum.blast.hk/showthread.php?tid=196360
this where i get my colors from
Re: Hlep with this function i think -
Stigg - 04.03.2011
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.
Re: Hlep with this function i think -
grand.Theft.Otto - 04.03.2011
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.