08.02.2016, 14:41
how to make this textdraw counting?
//at the top new Text:TextdrawLoadTime; forward TextdrawLoadTimeString(playerid); //ongamemodeinit TextdrawLoadTime = TextDrawCreate(637.188598, 0.583329, "20"); TextDrawLetterSize(TextdrawLoadTime, 0.309442, 1.279163); TextDrawAlignment(TextdrawLoadTime, 3); TextDrawColor(TextdrawLoadTime, 16711935); TextDrawSetShadow(TextdrawLoadTime, 0); TextDrawSetOutline(TextdrawLoadTime, 1); TextDrawBackgroundColor(TextdrawLoadTime, 51); TextDrawFont(TextdrawLoadTime, 1); TextDrawSetProportional(TextdrawLoadTime, 1); //code public TextdrawPlayerOnlineString(playerid) { new string[128]; format(string, sizeof(string), "%i",/*idontknow*/ ); TextDrawSetString(Text:TextdrawLoadTime, string); }]