2021-07-09, 09:32 PM
(2021-06-27, 09:46 AM)Awide Wrote: jokes on you all haters i use SCM to split long messages?
*grabs popcorn*
Code:
hook function SendClientMessage(playerid, color, const message[])
{
??? if (strlen(message) <= 144)
??? {
??????? return continue(playerid, color, message);
??? }
??? //Message split code goes here
??? return ~IsPlayerConnected(playerid);
}
There, no need to use seperate functions.