24.12.2016, 09:43
Hello and sorry for my english. My problem is: When i start turf and when i win the turf with this command (/turfs) i check which gang how many turfs have. When i win turf and i check i have one (this is okay) but when someone else (leader to other gang) attack my turf and when he win my turf in /turfs i have again 1 turf i need to have 0 .. And i want to ask how to make /turfs in dialog and i want to show me all gangs in one dialog like a
Grove Street Families - 0
Rolling Heights Ballas - 2
Los Santos Vagos - 0
This is my command and sorry again for my english and thanks for help
Grove Street Families - 0
Rolling Heights Ballas - 2
Los Santos Vagos - 0
Quote:
if(strcmp(x_job,"1",true) == 0) { SendClientMessage(playerid, COLOR_WHITE, "--- Grove Turfs ---"); format(string, sizeof(string), "Turfs - %d",TeamInfo[TEAM_GROVE][TurfWarsWon]); SendClientMessage(playerid, COLOR_LIGHTBLUE,string); } // if(strcmp(x_job,"2",true) == 0) { SendClientMessage(playerid, COLOR_WHITE, "--- Ballas Turfs ---"); format(string, sizeof(string), "Turfs - %d",TeamInfo[TEAM_BALLAS][TurfWarsWon]); SendClientMessage(playerid, COLOR_LIGHTBLUE,string); } // if(strcmp(x_job,"3",true) == 0) { SendClientMessage(playerid, COLOR_WHITE, "--- Vagos Turfs ---"); format(string, sizeof(string), "Turfs - %d",TeamInfo[TEAM_VAGOS][TurfWarsWon]); SendClientMessage(playerid, COLOR_LIGHTBLUE,string); } // |