27.04.2010, 07:03
How to make Textdraw show player money and level ?
forward StatsBox();
public StatsBox() { new string[128]; for(new i=0;i<MAX_PLAYERS;i++) { if (IsPlayerConnected(i)) { format(string, sizeof(string), "Money: %i" , GetPlayerMoney(i)); TextDrawSetString(YourTextDrawName[i],string); } } return 1; }
SetTimer("StatsBox",500, 1);