Help me !
#2

They both do totally different things.

The first one, is used to format and send client message.
pawn Код:
new string[144];
format(string, sizeof(string), "%s %d", someStrVar, someIntVar);
SendClientMessage(playerid, color, string);
instead of doing all that you do
pawn Код:
SendClientMessage(playerid, color, "%s %d", someStrVar, someIntVar);


The second one is just checking few variables and prevents sending client message if player is inside menu, inside tutorial or his chatbox is off.
Reply


Messages In This Thread
Help me ! - by TYDS - 04.06.2017, 06:06
Re: Help me ! - by DRIFT_HUNTER - 04.06.2017, 06:16

Forum Jump:


Users browsing this thread: 1 Guest(s)