15.12.2018, 18:18
new PlayersInMG = 0;
Textdraw1 = TextDrawCreate(503.000000, 113.000000, "--");
TextDrawBackgroundColor(Textdraw1, 65535);
TextDrawFont(Textdraw1, 3);
TextDrawLetterSize(Textdraw1, 0.390000, 1.000000);
TextDrawColor(Textdraw1, -65281);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
forward DMcountUpdate ();
public DMcountUpdate ()
{
new string[256];
format(string, sizeof string, "~r~minigame: ~w~"%d", PlayersInMG);
TextDrawSetString(Textdraw1, string);
}
CMD:minigun(playerid)
{
//When Player join minigun
PlayersInMG++;
return 1;
}
//In exit Command
CMD:exitminigun(playerid)
{
PlayersInMG--;
return 1;
}
gamemoinit
SetTimer("DMcountUpdate", 1000, true);
hello, thank you for reponderme, so is the scrip right?
Textdraw1 = TextDrawCreate(503.000000, 113.000000, "--");
TextDrawBackgroundColor(Textdraw1, 65535);
TextDrawFont(Textdraw1, 3);
TextDrawLetterSize(Textdraw1, 0.390000, 1.000000);
TextDrawColor(Textdraw1, -65281);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
forward DMcountUpdate ();
public DMcountUpdate ()
{
new string[256];
format(string, sizeof string, "~r~minigame: ~w~"%d", PlayersInMG);
TextDrawSetString(Textdraw1, string);
}
CMD:minigun(playerid)
{
//When Player join minigun
PlayersInMG++;
return 1;
}
//In exit Command
CMD:exitminigun(playerid)
{
PlayersInMG--;
return 1;
}
gamemoinit
SetTimer("DMcountUpdate", 1000, true);
hello, thank you for reponderme, so is the scrip right?