18.08.2014, 09:15
To show changed textdraw, you must hide and show textdraw again.
Quote:
forward MapKill1(); public MapKill1() { TextDrawHideForAll(MapKillsSoldiers); new string[16]; format(string, sizeof string, "%d", MapKillsSoldiers); TextDrawSetString(Textdraw12, string); TextDrawShowForAll(MapKillsSoldiers); return 1; } forward MapKill2(); public MapKill2() { TextDrawHideForAll(MapKillsTerrorists); new string[16]; format(string, sizeof string, "%d", MapKillsTerrorists); TextDrawSetString(Textdraw13, string); TextDrawShowForAll(MapKillsTerrorists); return 1; } |