{Textdraw11 = TextDrawCreate(10.000000, 425.000000, \"Keszpenz:000000000FT\");TextDrawBackgroundColor(Textdraw11, 255);TextDrawFont(Textdraw11, 3);TextDrawLetterSize(Textdraw11, 0.460000, 2.300000);TextDrawColor(Textdraw11, 16711935);TextDrawSetOutline(Textdraw11, 0);TextDrawSetProportional(Textdraw11, 1);TextDrawSetShadow(Textdraw11, 1); { if (GetPlayerMoney(playerid)>=100000 && GetPlayerMoney(playerid)<999999) { new s_szStr[128+1]; GetPlayerMoney(playerid); format(s_szStr, sizeof(s_szStr), \"Keszpenz:000%iFT\",GetPlayerMoney(playerid)); TextDrawSetString(Textdraw11, s_szStr); TextDrawShowForPlayer(playerid, Textdraw11); } } { if (GetPlayerMoney(playerid)>=1000000 && GetPlayerMoney(playerid)<9999999) { new s_szStr[128+1]; GetPlayerMoney(playerid); format(s_szStr, sizeof(s_szStr), \"Keszpenz:00%iFT\",GetPlayerMoney(playerid)); TextDrawSetString(Textdraw11, s_szStr); TextDrawShowForPlayer(playerid, Textdraw11); } } { if (GetPlayerMoney(playerid)>=10000000 && GetPlayerMoney(playerid)<99999999) { new s_szStr[128+1]; GetPlayerMoney(playerid); format(s_szStr, sizeof(s_szStr), \"Keszpenz:0%iFT\",GetPlayerMoney(playerid)); TextDrawSetString(Textdraw11, s_szStr); TextDrawShowForPlayer(playerid, Textdraw11); } } { if (GetPlayerMoney(playerid)>=100000000 && GetPlayerMoney(playerid)<999999999) { new s_szStr[128+1]; GetPlayerMoney(playerid); format(s_szStr, sizeof(s_szStr), \"Keszpenz:%iFT\",GetPlayerMoney(playerid)); TextDrawSetString(Textdraw11, s_szStr); TextDrawShowForPlayer(playerid, Textdraw11); } }}{ Textdraw12 = TextDrawCreate(196.000000, 424.000000, \"Bankba:000000000FT\"); TextDrawBackgroundColor(Textdraw12, 255); TextDrawFont(Textdraw12, 3); TextDrawLetterSize(Textdraw12, 0.420000, 2.500000); TextDrawColor(Textdraw12, 16711935); TextDrawSetOutline(Textdraw12, 0); TextDrawSetProportional(Textdraw12, 1); TextDrawSetShadow(Textdraw12, 1);}TextDrawShowForPlayer(playerid, Textdraw12);return 1;}
new s_szStr[128+1]; GetPlayerMoney(playerid); format(s_szStr, sizeof(s_szStr), \"Keszpenz:%09iFT\",GetPlayerMoney(playerid)); TextDrawSetString(Textdraw11, s_szStr); TextDrawShowForPlayer(playerid, Textdraw11); }