Stuck with /me
#4

pawn Код:
format(str, sizeof(str), "* %s %s", str, !strlen(params));
This piece of code doesn't make a lot of sense, why are you trying to insert the return value of the strlen function, which is also an integer, not a string like you've specified in the format.

I think what you're looking for is more along the lines of passing the string directly in there, for example:

pawn Код:
format(str, sizeof(str), "* %s %s", str, params);
strlen is for getting the length of a string, not getting the value of a string.
Reply


Messages In This Thread
Stuck with /me - by iNorton - 23.10.2011, 15:38
Re: Stuck with /me - by .:Kaos:. - 23.10.2011, 15:44
Re: Stuck with /me - by iNorton - 23.10.2011, 15:50
Re: Stuck with /me - by JaTochNietDan - 23.10.2011, 16:01
Re: Stuck with /me - by iNorton - 23.10.2011, 16:03
Re: Stuck with /me - by JaTochNietDan - 23.10.2011, 16:07
Re: Stuck with /me - by iNorton - 23.10.2011, 16:08
Re: Stuck with /me - by .:Kaos:. - 23.10.2011, 16:11
Re: Stuck with /me - by iNorton - 23.10.2011, 16:12

Forum Jump:


Users browsing this thread: 3 Guest(s)