open.mp forum
SCM() - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: General (https://forum.open.mp/forumdisplay.php?fid=19)
--- Forum: Programming (https://forum.open.mp/forumdisplay.php?fid=56)
--- Thread: SCM() (/showthread.php?tid=2141)



SCM() - Awide - 2021-06-27

jokes on you all haters i use SCM to split long messages?



*grabs popcorn*


RE: SCM() - BigETI - 2021-06-29

jokes on you all haters i use SendClientMessage to split long messages



*grabs popcorn*


RE: SCM() - Otakeiro - 2021-07-03

Wtf? translation was kind of bizarre


RE: SCM() - Kwarde - 2021-07-09

(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.


RE: SCM() - Awide - 2021-07-10

(2021-07-09, 09:32 PM)Kwarde Wrote:
(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.



But I can, and I do.