2020-11-06, 07:39 PM
(2020-11-06, 07:30 PM)Pinch Wrote:Code:CMD:save(playerid, params[]
{
? ? const MESSAGE_LENGTH_LIMIT = 100;
? ? if (strlen(params) > MESSAGE_LENGTH_LIMIT)
? ? ? ? return 0; // You probably want to return error message to player here.
? ? ? ?
? ? strcpy(PlayerInfo[playerid][pMessage], params);
? ? SaveMessage(playerid);
? ? return 1;
}
The problem is when I do /save {FF0000}Test{FFFFFF}Test
Its only save TestTest not full message