Posts: 372
Threads: 98
Joined: Mar 2011
Reputation:
0
Can you help me about making a score.
For example, when someone type /score, message comes:
TEAM1: (NumberOfKills) // TEAM2: (NumberOfKills)
Not. score on tab list - giving level, but comes one more number when someone kills other player.
Posts: 484
Threads: 11
Joined: Oct 2012
Reputation:
0
Hmm, do you have a variable on your script for saving team kills?
Posts: 372
Threads: 98
Joined: Mar 2011
Reputation:
0
I have pScore
So: OnPlayerDeath: when someone from TEAM1 kill someone from TEAM2, to pScoreTEAM1 +1, or when someone from TEAM2 kill someone from TEAM1, to pScoreTEAM2 +1.
Posts: 372
Threads: 98
Joined: Mar 2011
Reputation:
0
Can you explain me what : if(classid(playerid)==0) is here for.
Posts: 372
Threads: 98
Joined: Mar 2011
Reputation:
0
I dont think this is right. Correct me if I'm wrong.
if(team[killerid]==0)
{
team1score++; //adding kill to team which killed player
}
For Team1 one more score.
if(team[playerid]==1)
{
team2score++; //adding kill to team which killed player
}
For team 2 one more score.
Why is for team1score++ killerid
And why is for team2score++ playerid
Posts: 56
Threads: 14
Joined: Jul 2009
Reputation:
0
Yes, my bad again. sorry. Its supposed to be [killerid] for the second case too.