Scripting with format or without format?
#1

Hi

I now using format for all formatting text.
But i now saw i can script without format function.

So which is the faster/better choice?

This (example):
Quote:

SendClientMessage(playerid, COLOR_WHITE, "Your ID is " playerid);

Or:
Quote:

format(text, sizeof(text), "Your ID is %d", playerid);
SendClientMessage(playerid, COLOR_WHITE, text);

?

Thanx for the replys
Reply


Messages In This Thread
Scripting with format or without format? - by godknightx - 07.12.2010, 17:09
Re: Scripting with format or without format? - by armyoftwo - 07.12.2010, 17:27
Re: Scripting with format or without format? - by RyDeR` - 07.12.2010, 17:54
Re: Scripting with format or without format? - by godknightx - 07.12.2010, 18:02
Re: Scripting with format or without format? - by CyNiC - 08.12.2010, 19:38

Forum Jump:


Users browsing this thread: 1 Guest(s)