SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 02/06/2015, 12:06 PM   #1
Rancho
Big Clucker
 
Join Date: Jun 2012
Posts: 83
Reputation: 60
Post SendLongMessage - Message Splitter for Chat

SendLongMessage


Introduction

Automated message splitter for sa-mp. There are lots of message splitters but there are no message splitter with colour code support. This plugin has colour-code support. Your last colour code will be applied in next lines. Also this plugin splits message by space. You will not see divided words like:
Code:
Hello un...
...iverse.
Functions
Code:
/*
 *
 * 		@File: slm.inc
 *		@Author: Rancho
 * 		@Description: slm class
 *
 */

#if defined _slm_included
  #endinput
#endif
#define _slm_included
#pragma library SendLongMessage

native SendLongMessage ( playerid, color, msg[] );
native SendLongMessageToAll ( color, msg[] );

Screenshots
Screenshots will be added soon.


OS Support
Currently, plugin is only supported on Linux

Download

Compiled binaries and source files will always be here:

GitHub Releases Page

The source can be browsed here. This repository can also be cloned.
Rancho is offline   Reply With Quote
Old 02/06/2015, 12:15 PM   #2
kristo
Banned
 
Join Date: Jun 2012
Location: Estonia
Posts: 352
Reputation: 179
Default Re: SendLongMessage - Message Splitter for Chat

Strange to see this as a plugin. Actually I've created a message splitter which has 99% of the functionality this has, plus some more. Good effort you've put in this, though - I like it.
kristo is offline   Reply With Quote
Old 02/06/2015, 12:38 PM   #3
ExTaZZ69
Big Clucker
 
ExTaZZ69's Avatar
 
Join Date: Mar 2015
Location: Romania
Posts: 128
Reputation: 23
Default Re: SendLongMessage - Message Splitter for Chat

Very nice plugin. Keep it up!
ExTaZZ69 is offline   Reply With Quote
Old 02/06/2015, 03:21 PM   #4
Dayvison_
High-roller
 
Dayvison_'s Avatar
 
Join Date: Nov 2013
Posts: 1,309
Reputation: 200
Default Re: SendLongMessage - Message Splitter for Chat

Nice plugin..
__________________


Dayvison_ is offline   Reply With Quote
Old 02/06/2015, 03:25 PM   #5
Luis-
High-roller
 
Luis-'s Avatar
 
Join Date: Jan 2010
Location: England
Posts: 3,933
Reputation: 420
Default Re: SendLongMessage - Message Splitter for Chat

I don't see a reason for this being a plugin? Wouldn't it be easier for it to be an include?
__________________
Luis- is offline   Reply With Quote
Old 02/06/2015, 03:32 PM   #6
Dayvison_
High-roller
 
Dayvison_'s Avatar
 
Join Date: Nov 2013
Posts: 1,309
Reputation: 200
Default Re: SendLongMessage - Message Splitter for Chat

Quote:
Originally Posted by Luis- View Post
I don't see a reason for this being a plugin? Wouldn't it be easier for it to be an include?
What reason cannot be in plugin?
__________________


Dayvison_ is offline   Reply With Quote
Old 02/06/2015, 03:37 PM   #7
Adejair_Junior
Banned
 
Join Date: Mar 2011
Posts: 130
Reputation: 68
Default Re: SendLongMessage - Message Splitter for Chat

Quote:
Originally Posted by Day_ View Post
What reason cannot be in plugin?
Read code and view


Unnecessary plugin, I would not use, its possible create with pawn
Adejair_Junior is offline   Reply With Quote
Old 02/06/2015, 03:44 PM   #8
ev0lution
Gangsta
 
ev0lution's Avatar
 
Join Date: Jul 2009
Posts: 669
Reputation: 380
Default Re: SendLongMessage - Message Splitter for Chat

Why is this a plugin? It's existed in pawn for years and it's incredibly simple to create.
__________________
ev0lution is offline   Reply With Quote
Old 02/06/2015, 04:04 PM   #9
Romz
Banned
 
Join Date: Jun 2013
Location: Ukraine
Posts: 1,042
Reputation: 64
Default Re: SendLongMessage - Message Splitter for Chat

What it is?
Romz is offline   Reply With Quote
Old 02/06/2015, 04:48 PM   #10
nicolaskettler
Little Clucker
 
nicolaskettler's Avatar
 
Join Date: May 2011
Posts: 38
Reputation: 8
Default Re : SendLongMessage - Message Splitter for Chat

It's possible to do it in pawn but i do believe that using a plugin would be faster and way better, thank's
nicolaskettler is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 09:09 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.