Argument type mismatch
#4

Show the declaration ('new') for 'str'. You should also use sizeof() so if you change the string's array size, you won't have to change it in format() also. Also, SendClientMessage is limited to 144 characters, not 128. 128 is chat input. A lot of people don't know this.

EDIT: The problem looks like it's with GetPlayerNameEx.
Reply


Messages In This Thread
Argument type mismatch - by Andriensis - 06.05.2013, 19:27
Re: Argument type mismatch - by Jochemd - 06.05.2013, 19:28
Re: Argument type mismatch - by Andriensis - 06.05.2013, 19:30
Re: Argument type mismatch - by MP2 - 06.05.2013, 19:54
Re: Argument type mismatch - by Jochemd - 06.05.2013, 19:54
Re: Argument type mismatch - by Andriensis - 06.05.2013, 19:57

Forum Jump:


Users browsing this thread: 1 Guest(s)