18.08.2014, 10:28
pawn Код:
public OnGameModeInit()
{
SetTimer("MapKill1", 1000, 1);
SetTimer("MapKill2", 1000, 1);
return 1;
}
forward MapKill1();
public MapKill1()
{
TextDrawHideForAll(Textdraw12);
new string[16];
format(string, sizeof string, "%d", MapKillsSoldiers);
TextDrawSetString(Textdraw12, string);
TextDrawShowForAll(Textdraw12);
return 1;
}
forward MapKill2();
public MapKill2()
{
TextDrawHideForAll(Textdraw13);
new string[16];
format(string, sizeof string, "%d", MapKillsTerrorists);
TextDrawSetString(Textdraw13, string);
TextDrawShowForAll(Textdraw13);
return 1;
}