Add Teams to my Script? Help please
#8

https://sampforum.blast.hk/showthread.php?tid=117851
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
}
https://sampwiki.blast.hk/wiki/TextDrawCreate
Scroll down for all the textdraw functions
Reply


Messages In This Thread
Add Teams to my Script? Help please - by core7 - 07.09.2011, 20:18
Re: Add Teams to my Script? Help please - by =WoR=G4M3Ov3r - 07.09.2011, 20:20
Re: Add Teams to my Script? Help please - by core7 - 07.09.2011, 20:22
Re: Add Teams to my Script? Help please - by Wesley221 - 07.09.2011, 20:24
Re: Add Teams to my Script? Help please - by =WoR=G4M3Ov3r - 07.09.2011, 20:25
Re: Add Teams to my Script? Help please - by core7 - 07.09.2011, 20:30
Re: Add Teams to my Script? Help please - by =WoR=Varth - 08.09.2011, 06:30
Re: Add Teams to my Script? Help please - by Wesley221 - 08.09.2011, 15:35
Re: Add Teams to my Script? Help please - by core7 - 08.09.2011, 15:38
Re: Add Teams to my Script? Help please - by core7 - 08.09.2011, 17:10

Forum Jump:


Users browsing this thread: 2 Guest(s)