[FilterScript] Colored Money
#1



Hi, I have prepared such a system to create a more pleasing appearance, I wish you good use.


IMAGE



DOWNLOAD

CLICK ME!
Reply
#2

Should make this an include and go like

SetMoneyColor(0xFFFFFFFF);

Good job anyhow.
Reply
#3

Simple! Good job anyways
Reply
#4

Thanks for comments.
Reply
#5

Don't use textdraws dude use playertextdraws and this should be an include not a filterscript.
Reply
#6

Nice one.
Reply
#7

OMG, I think it's a lot of work to make this shit possible, you da real mvp
Reply
#8

format(_yeniPara, sizeof _yeniPara, "$%08i", GetPlayerMoney(playerid);


use this formatted your

PHP код:
    if(GetPlayerMoney(playerid) >= 0             && GetPlayerMoney(playerid) <= 9)        { format(_yeniParasizeof _yeniPara"$0000000%i",     GetPlayerMoney(playerid)); TextDrawSetString(RenkliPara[playerid], _yeniPara[0]); }
    else if(
GetPlayerMoney(playerid) >= 10       && GetPlayerMoney(playerid) <= 99)       { format(_yeniParasizeof _yeniPara"$000000%i",      GetPlayerMoney(playerid)); TextDrawSetString(RenkliPara[playerid], _yeniPara[0]); }
    else if(
GetPlayerMoney(playerid) >= 100      && GetPlayerMoney(playerid) <= 999)      { format(_yeniParasizeof _yeniPara"$00000%i",       GetPlayerMoney(playerid)); TextDrawSetString(RenkliPara[playerid], _yeniPara[0]); }
    else if(
GetPlayerMoney(playerid) >= 1000     && GetPlayerMoney(playerid) <= 9999)     { format(_yeniParasizeof _yeniPara"$0000%i",        GetPlayerMoney(playerid)); TextDrawSetString(RenkliPara[playerid], _yeniPara[0]); }
    else if(
GetPlayerMoney(playerid) >= 10000    && GetPlayerMoney(playerid) <= 99999)    { format(_yeniParasizeof _yeniPara"$000%i",         GetPlayerMoney(playerid)); TextDrawSetString(RenkliPara[playerid], _yeniPara[0]); }
    else if(
GetPlayerMoney(playerid) >= 100000   && GetPlayerMoney(playerid) <= 999999)   { format(_yeniParasizeof _yeniPara"$00%i",          GetPlayerMoney(playerid)); TextDrawSetString(RenkliPara[playerid], _yeniPara[0]); }
    else if(
GetPlayerMoney(playerid) >= 1000000  && GetPlayerMoney(playerid) <= 9999999)  { format(_yeniParasizeof _yeniPara"$0%i",           GetPlayerMoney(playerid)); TextDrawSetString(RenkliPara[playerid], _yeniPara[0]); }
    else if(
GetPlayerMoney(playerid) >= 10000000 && GetPlayerMoney(playerid) <= 99999999) { format(_yeniParasizeof _yeniPara"$%i",            GetPlayerMoney(playerid)); TextDrawSetString(RenkliPara[playerid], _yeniPara[0]); }} 
Reply
#9

good job but can you upload it to pastebin?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)