Team Score help me!
#1

how to make an team score like this??

the scripts only.. not the text draw
please show me how to create a team score like that

and when the one of gang score going to 100 all gang score will be 0 again
and only the player in the won team will got more score and more money $$$
Reply
#2

Alright lets say we make 3 teams

Easy, you need just a single variable.
pawn Код:
new Team1;//team 1
new Team2;//team 2

Now you might have a variable called Team[playerid], gTeam[playerid] which detects a players team

On onplayerdeath:

if(gTeam[killerid] == 1)//Team 1
{
    Team1++;
}
else if(gTeam[killerid] == 2)//team 2
{
    Team2++;
}
Now that adds 1 score per kill on a team simply make string to you're textdraw like:

pawn Код:
new string[60];
format(string, sizeof(string), "Team1 = %d | Team2 = %d", Team1, Team2);
Reply
#3

nice but i dn;t understand @_@
Reply
#4

This mean if a killerid its in a team.. when he kill someone add a point to his team
make sure you not make some like team kill
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)