[Include] [INC] Multi text lines
#1

Multi text lines
Description

What it do?
It transfers string's text into two lines.

What it used for?
It's used for RolePlay servers. Basically most RP servers have /me /do /b commands. This function can transfer typed command text into multiple lines.

The text can be only up to 128 characters!


Full screenshot: http://i40.tinypic.com/xkotvc.png

Usage

Functions:
SendClientMessageA(playerid,color,text[])

Example:

Код:
public OnPlayerText(playerid, text[])
{
	new pName[MAX_PLAYER_NAME], msg[129];
	GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
	format(msg,sizeof msg,"%s says: %s",pName,text);
	SendClientMessageA(playerid,GREY,msg);
	return 0;
}
Installation:
You must put include to includes, and put this thing into your code (at includes ex.: #include <a_samp>)
Код:
#include <multilines>
And you're done.

Versions

v1.0 (2010-03-1: Created include, next version will be included with ProxDetector.
Download:

http://pastebin.com/TRLPpwYy
Reply


Messages In This Thread
[INC] Multi text lines - by KuHS - 18.03.2010, 18:34
Re: [INC] Multi text lines - by Tomejus - 18.03.2010, 18:35
Re: [INC] Multi text lines - by SlashPT - 18.03.2010, 18:41
Re: [INC] Multi text lines - by KuHS - 18.03.2010, 18:49
Re: [INC] Multi text lines - by cyber_punk - 18.03.2010, 19:29
Re: [INC] Multi text lines - by NiiRV4N4 - 30.05.2010, 03:01
Re: [INC] Multi text lines - by Packadore - 30.05.2010, 06:30
Re: [INC] Multi text lines - by Aleks7 - 30.05.2010, 08:56
Re: [INC] Multi text lines - by Visualbr - 30.05.2010, 09:04
Re: [INC] Multi text lines - by cmg4life - 30.05.2010, 10:05
Re: [INC] Multi text lines - by Mujib - 30.05.2010, 10:08
Re: [INC] Multi text lines - by cmg4life - 31.05.2010, 09:52
Re: [INC] Multi text lines - by gimini - 31.05.2010, 11:28
Re: [INC] Multi text lines - by Cameltoe - 31.05.2010, 12:16
Re: [INC] Multi text lines - by deather - 13.06.2010, 10:03
Re: [INC] Multi text lines - by Iceaac - 09.07.2010, 20:58
Re: [INC] Multi text lines - by JM - 10.07.2010, 18:11

Forum Jump:


Users browsing this thread: 5 Guest(s)