Restructured every menu to properly translate into the client's language.

This commit is contained in:
Greyscale
2009-07-27 17:02:49 -07:00
parent 70e5c93a2e
commit 5ee1395fb1
9 changed files with 112 additions and 82 deletions

View File

@ -1055,15 +1055,17 @@ ClassDumpData(index, cachetype, String:buffer[], maxlen)
/**
* Converts a multiplier attribute to a human readable string.
*
* @param client The client index to translate correct language.
* @param attribute Attribute to convert.
* @param buffer Destination string buffer.
* @param maxlen Size of buffer.
* @return Number of cells written.
*/
ClassMultiplierToString(ClassMultipliers:attribute, String:buffer[], maxlen)
ClassMultiplierToString(client, ClassMultipliers:attribute, String:buffer[], maxlen)
{
decl String:phrase[48];
SetGlobalTransTarget(client);
switch (attribute)
{
case ClassM_NapalmTime: