
01.08.2013, 22:36
|
|
Новичок
Регистрация: 23.03.2013
Сообщений: 11
С нами:
6915896
Репутация:
0
|
|
"param" is a "char *" just like "setLocalPlayerName" function argument, so you don't need to convert to int and then to "char *" again.
so, just...
setLocalPlayerName(param);
and the second argument of "addClientCommand" is a int, so you must not convert that void to char, but do it as an int, like this:
addClientCommand("nick", (int)cmd_nick); 
|
|
|