15.01.2015, 17:24
I have made a command "/act".
but I want spaces in the message.
How do I do that? just spaces don't work.
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;
}


