Quote:
Originally Posted by RyDeR`
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
Then just create a global variable (or PVar) where you assign the language. (0 for English, 1 for your language).
pawn Код:
SendLanguageMessage(playerid, color, IndexLanguageVar, "Hello there %s", "Hola %s", GetName(playerid));
|
I didn't understand that. Explain better
I really need it fast, it's crashing my server! :@