17.07.2011, 09:54
pawn Код:
#if !defined SendLanguageMessage
static
__langString[128]
;
#define SendLanguageMessage(%0,%1,%2,%3,%4,%5) \
format(__langString, sizeof(__langString), (%2) ? (%3) : (%4), %5), SendClientMessage((%0), (%1), __langString)
#pragma unused __langString
#endif
pawn Код:
SendLanguageMessage(playerid, color, IndexLanguageVar, "Hello there %s", "Hola %s", GetName(playerid));