12.05.2010, 06:17
Let me guess:
While TextDrawSetString expects a string as a second parameter (see also the function name '...SetString') - GetPlayerScore returns an integer (see also the function name '...Score' - score is very often meant to be a number) and you are trying to call the function with an mismatching argument type?
Let's see what the compiler error could have told you already...
There you go.
Pardon any sarcasm but sometimes the problem is too obvious and one could at least think two seconds about it before making a thread
While TextDrawSetString expects a string as a second parameter (see also the function name '...SetString') - GetPlayerScore returns an integer (see also the function name '...Score' - score is very often meant to be a number) and you are trying to call the function with an mismatching argument type?
Let's see what the compiler error could have told you already...
Quote:
|
error 035: argument type mismatch (argument 2) |
Pardon any sarcasm but sometimes the problem is too obvious and one could at least think two seconds about it before making a thread

