• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SCM()
#4
(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.
  Reply


Messages In This Thread
SCM() - by Awide - 2021-06-27, 09:46 AM
RE: SCM() - by BigETI - 2021-06-29, 04:17 PM
RE: SCM() - by Otakeiro - 2021-07-03, 02:37 AM
RE: SCM() - by Kwarde - 2021-07-09, 09:32 PM
RE: SCM() - by Awide - 2021-07-10, 09:20 AM

Forum Jump: