Zdravim. Jak uz vetsina z vas vi, delam cw/tg mod a udelal jsem si do TD total score: 0:0 aby sme nemuseli scitat.. Ale kdyz jsem pridal do onplayerdeath aby se to pocitalo tak mi to nepocita vubec (totalscore) ukazu vam jak to mam.
if(gTeam[killerid]== 1) {
if(gTeam[playerid]==1){
SendClientMessageToAll(COLOR_RED, "( ! ) Team (Red) udělal TeamKill, proto teamu (Green) byl přičten 1bod.");
scoreg +=1;
teamkill[killerid]++;
}else if(gTeam[playerid]==2){
scorer +=1; ///normal, score kola ktere ma 30 bodu.
scorerrr +=1; //total score
}else if(gTeam[playerid]==3){
scorer +=1; //normal, score kola ktere ma 30 bodu.
scorerrr +=1; //totalscore
}
}
if(gTeam[killerid]== 2) {
if(gTeam[playerid]==2){
SendClientMessageToAll(COLOR_GREEN, "( ! ) Team (Green) udělal TeamKill, proto teamu (Red) byl přičten 1bod.");
scorer +=1;
teamkill[killerid]++;
}else if(gTeam[playerid]==1){
scoreg +=1; //normal, score kola ktere ma 30 bodu.
scoreggg +=1; //total score
}else if(gTeam[playerid]==3){
scoreg +=1; //normal, score kola ktere ma 30 bodu.
scoreggg +=1; // total score
}
}
Edit: Už to počíta, ale jen kladny killy nikoliv Teamkilly :/ (Takze napr: hrac z teamu red da teamkill a teamu green se nic nepricte.
Dotaz
NurofeN-Cz 0
Zdravim. Jak uz vetsina z vas vi, delam cw/tg mod a udelal jsem si do TD total score: 0:0 aby sme nemuseli scitat.. Ale kdyz jsem pridal do onplayerdeath aby se to pocitalo tak mi to nepocita vubec (totalscore) ukazu vam jak to mam.
if(gTeam[killerid]== 1) {
if(gTeam[playerid]==1){
SendClientMessageToAll(COLOR_RED, "( ! ) Team (Red) udělal TeamKill, proto teamu (Green) byl přičten 1bod.");
scoreg +=1;
teamkill[killerid]++;
}else if(gTeam[playerid]==2){
scorer +=1; ///normal, score kola ktere ma 30 bodu.
scorerrr +=1; //total score
}else if(gTeam[playerid]==3){
scorer +=1; //normal, score kola ktere ma 30 bodu.
scorerrr +=1; //totalscore
}
}
if(gTeam[killerid]== 2) {
if(gTeam[playerid]==2){
SendClientMessageToAll(COLOR_GREEN, "( ! ) Team (Green) udělal TeamKill, proto teamu (Red) byl přičten 1bod.");
scorer +=1;
teamkill[killerid]++;
}else if(gTeam[playerid]==1){
scoreg +=1; //normal, score kola ktere ma 30 bodu.
scoreggg +=1; //total score
}else if(gTeam[playerid]==3){
scoreg +=1; //normal, score kola ktere ma 30 bodu.
scoreggg +=1; // total score
}
}
Edit: Už to počíta, ale jen kladny killy nikoliv Teamkilly :/ (Takze napr: hrac z teamu red da teamkill a teamu green se nic nepricte.
Link to comment
Share on other sites
4 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now