Space in player message.
#1

I have made a command "/act".
but I want spaces in the message.
Код:
if(!strcmp(cmdtext, "/act", true ,4))
	{
	    if(!cmdtext [3]) return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /act [action]");
	    new str[128];
		GetPlayerName(playerid, str, sizeof(str));
		format(str, sizeof(str), "[HERE A SPACE]>[HERE A SPACE]%s (([HERE A SPACE]%s[HERE A SPACE]))", cmdtext[4], str);
		SendClientMessageToAll(0xC2A2DAAA, str);
		return 1;
	}
How do I do that? just spaces don't work.
Reply


Messages In This Thread
Space in player message. - by xX4m4zingXx - 15.01.2015, 17:24
Re: Space in player message. - by HazardouS - 15.01.2015, 17:34
Re: Space in player message. - by Schneider - 15.01.2015, 17:45
Re: Space in player message. - by xX4m4zingXx - 15.01.2015, 18:12
Re: Space in player message. - by Schneider - 15.01.2015, 18:13
Re: Space in player message. - by xX4m4zingXx - 15.01.2015, 19:59

Forum Jump:


Users browsing this thread: 1 Guest(s)