Closed kossolax closed 3 years ago
Format(tmp, sizeof(tmp), "%T", "Artisan_Infos_Bonus_XP", (g_flClientBook[client][book_xp] - GetTickedTime()) / 60.0);
%T = la trad, suivit du client (pour savoir sa langue, ou LANG_SERV), suivi des variables
donc
Format(tmp, sizeof(tmp), "%T", "Artisan_Infos_Bonus_XP", client, (g_flClientBook[client][book_xp] - GetTickedTime()) / 60.0);
Ok donc y'a le problème pas que sur cette ligne mais dans tout le menu ahah
L 08/23/2021 - 16:59:15: [SM] Exception reported: Translation failed: invalid client index 1086324736 (arg 6) L 08/23/2021 - 16:59:15: [SM] Blaming: roleplay_artisan.smx L 08/23/2021 - 16:59:15: [SM] Call stack trace: L 08/23/2021 - 16:59:15: [SM] [0] Format L 08/23/2021 - 16:59:15: [SM] [1] Line 852, C:\Users\kossolax\Documents\riplay-rp\jobs\roleplay_artisan.sp::displayStatsMenu L 08/23/2021 - 16:59:15: [SM] [2] Line 171, C:\Users\kossolax\Documents\riplay-rp\jobs\roleplay_artisan.sp::Cmd_ItemCraftBook