08.09.2011, 15:35
https://sampforum.blast.hk/showthread.php?tid=117851
Use this to create a textdraw.
https://sampwiki.blast.hk/wiki/TextDrawCreate
Scroll down for all the textdraw functions
Use this to create a textdraw.
pawn Код:
new Team1Kills; // this will count the kills for team 1
new Team2Kills; // this for team 2
onplayerdeath
if(GetPlayerTeam(killerid) == Team1)
{
Team1Kills++; // this will add one kill to the variable
TextDrawSetString(); // update the datas
}
else
{
Team2Kills++; // This will add one kill to the variable
TextDrawSetString(); // update the datas
}
Scroll down for all the textdraw functions