17.08.2018, 04:50
Hi 
Make as i'm doing:
Hope it works fine

Make as i'm doing:
PHP код:
new Text:Textdraw3[MAX_PLAYERS];
// Then Create it OnGameModeInit
for(new playerid = 0;playerid < MAX_PLAYERS; playerid++)
{
Textdraw3[playerid] = TextDrawCreate(563.679870, 359.370605, "");
TextDrawLetterSize(Textdraw3[playerid], 0.257999, 1.114666);
TextDrawFont(Textdraw3[playerid], 1);
}
//In the command...
MoneyForBail[playerid] = random(7000) + 1000;
if(MoneyForBail[playerid] > GetPlayerCash(playerid))
{
MoneyFor[playerid] = MoneyForBail[playerid];
format(string, sizeof(string), "%d", MoneyFor[playerid]);
TextDrawSetString(Textdraw3[playerid], string);
