Format message
#1

Hello guys, I want to now how can I create a message format like this

Код:
SFM(playerid, -1, "Hello %s", "Bonjour %s", GetName(playerid));
I currently use this, but I want what I have shown above, for something quicker to write
Код:
if(playerVariables[playerid][pLanguage] == 2) format(string, sizeof(string), "Bonjour %s", GetName(playerid));
else format(string, sizeof(string), "Hello %s", GetName(playerid));
SendClientMessage(playerid, -1, string);
I saw in some people scripting on ytb and I want to know how I can do that for myself.
Reply


Messages In This Thread
Format message - by None1337 - 11.01.2018, 11:03
Re: Format message - by iLearner - 11.01.2018, 11:07
Re: Format message - by None1337 - 11.01.2018, 12:32
Re: Format message - by ISmokezU - 11.01.2018, 12:37
Re: Format message - by iLearner - 11.01.2018, 12:39
Re: Format message - by jasperschellekens - 11.01.2018, 12:40
Re: Format message - by ISmokezU - 11.01.2018, 12:53
Re: Format message - by None1337 - 11.01.2018, 13:41
Re: Format message - by DaniceMcHarley - 11.01.2018, 13:43
Re: Format message - by None1337 - 11.01.2018, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)