Message Format
#2

Quote:
Originally Posted by RCON1
Посмотреть сообщение
Could anyone suggest how to create a plugin that would format the message? (I use y_va but want a plugin)

Код:
native SendClientFormatMessage (playerid, color, const format [], {Float, _}: ...);
This is not ask part of forums,
For this, plugin is unnecessary aswell.

You can use these 3 lines tho:
pawn Код:
new FXF_str[128];
#define SendFormattedClientMessage(%1,%2,%3,%4) format(FXF_str,sizeof(FXF_str),%3,%4); SendClientMessage(%1,%2,FXF_str)
#define SendFormattedClientMessageToAll(%1,%2,%3) format(FXF_str,sizeof(FXF_str),%2,%3); SendClientMessageToAll(%1,FXF_str)
*COPIED FROM CODE BY PSPgamer_10*
https://sampforum.blast.hk/showthread.php?tid=169280
Reply


Messages In This Thread
Message Format - by RCON1 - 20.04.2014, 17:34
Re: Message Format - by [WSF]ThA_Devil - 20.04.2014, 18:23
Re: Message Format - by RCON1 - 20.04.2014, 18:28
Re: Message Format - by [WSF]ThA_Devil - 20.04.2014, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)