05.11.2014, 17:33
First of all, string[1024] is a really big mistake that you are making. SendClientMessage can only send 144 characters, so you are creating way too big string.
CreatePlayerMeString would work like this.
You need to use it with format because it will return a string. You tried to store that string into an integer, which won't work.
CreatePlayerMeString would work like this.
Код:
CMD:me(playerid, params[]) { new string[128]; format(string, sizeof(string), "%s", CreatePlayerMeString(playerid, params); SendClientMessage(playerid, -1, string); return 1: }