Иконка ресурса

Marquee 1.0

maza511

Участник
Сообщения
882
Реакции
407
  • Автор ресурса
  • #1
Marquee
Текущая версия: 1.0

Описание:
Этот плагин позволяет отправлять бегущий текст для некоторых игроков.
Текст будет бежать с права налево.
Видео подобного на евентскрипт.

Команды:
sm_marquee <#userid|steamid|name> "text"
Не забудте поставить кавычки в тексте.

PHP:
/**
* Starts a marquee on a list of clients.
*
* @param clients        An array of clients to send to.
* @param numClients    Number of players in the array.
* @param message        The message to display.
* @param intercept        Stop any currently running marquee and start this one.
* @return                True if started, false otherwise.
*/
native bool:Marquee_Start(const clients[], numClients, const String:message[], bool:intercept=true);

/**
* Starts a marquee on a client.
*
* @param client        The client to send the panel to.
* @param message        The message to display.
* @param intercept        Stop any currently running marquee and start this one.
* @return                True if started, false otherwise.
*/
native bool:Marquee_StartOne(client, const String:message[], bool:intercept=true);

/**
* Starts a marquee on all clients.
*
* @param message        The message to display.
* @param intercept        Stop any currently running marquee and start this one.
* @return                True if started, false otherwise.
*/
native bool:Marquee_StartAll(const String:message[], bool:intercept=true);

/**
* Stops the marquee currently running on a client.
*
* @param client        The client to stop the marquee from.
* @noreturn
*/
native Marquee_Stop(client);

/**
* Checks, whether a client is currently watching a marquee.
*
* @param client        The client to check.
* @return                True if he's watching a marquee, false otherwise.
*/
native bool:Marquee_IsRunning(client);

/**
* Called when a marquee message is about to start on a client.
*
* @param client            Client index of player to send to.
* @param sMessage            Message to send.
* @return                    Action to handle the message.
*/
forward Action:Marquee_OnStart(client, const String:sMessage[]);

Оригинал
 
Последнее редактирование модератором:

d1mqa

Участник
Сообщения
172
Реакции
31
Поддержка языка только англ.?или на русском тоже можно?
 

Phoenixcrazy

Участник
Сообщения
211
Реакции
6
А исходник ни как нельзя увидеть?
Что же вы все выкладываете без него.. видь иногда надо немного подправить чтоб плагин работал качественно и на пользу... а без исходника разве это возможно..
 

CTe6eJIeK_vRn

Участник
Сообщения
2,114
Реакции
1,867
Черная вдова, если текст на русском смени кодировку Кодировка
 
Последнее редактирование модератором:

Черная вдова

Участник
Сообщения
2,795
Реакции
670
Я пробовал писать и по русски и по анг и цифрами но все равно кубики
 

Saliba

Участник
Сообщения
63
Реакции
5
Прикольный плагин. Для развлечения:-)
 
Сверху Снизу