08.06.2011, 12:49
I'm trying to make a text fade function, and I have a little problem:
This is my function..
The error occurs here:
I'm using a timer to get there:
So... where is the problem?
Thanks in advance.
This is my function..
pawn Код:
public OnTextFade(Text:textid, textcolor)
pawn Код:
format(string, sizeof(string), "%sEE", textcolor);
TextDrawColor(textid, string); // This is the line ( error 035: argument type mismatch (argument 2) )
pawn Код:
gTextFade = SetTimerEx("OnTextFade", 100, true, "ss", "ServerRestart", "0xFF0000");
Thanks in advance.