dcmd question.
#2

Well, dcmd's second parameter is not a variable, it is a string. So, do make this work, you just don't use strval, instead you proceed a string. e.g:

pawn Code:
new string[32];
format(string, sizeof(string), "%d", strval(clickedplayerid));
return dcmd_kill(playerid, string);
You can't proceed integer-variables when the function is expecting string-variables.
Reply


Messages In This Thread
dcmd question. - by _CHoz - 13.10.2009, 12:28
Re: dcmd question. - by Extremo - 13.10.2009, 12:31
Re: dcmd question. - by _CHoz - 13.10.2009, 12:36
Re: dcmd question. - by _CHoz - 13.10.2009, 13:26
Re: dcmd question. - by Extremo - 13.10.2009, 20:03

Forum Jump:


Users browsing this thread: 3 Guest(s)