if(GetPlayerOrg(playerid) == 3 || GetPlayerOrg(playerid) == 15 || GetPlayerOrg(playerid) == 23) { if(TendoGuerra >= 1 && IsPlayerInGuerra(playerid) && EmGuerra[playerid] == 0) { new GuerraString[256]; TextDrawShowForPlayer(i, BoxGuerra[i]); TextDrawShowForPlayer(i, TextGuerra[i]); format(string, sizeof(string), "* %s entrou na zona de Guerra!",PlayerName(playerid)); format(string,sizeof(string),"Pontuacao ~r~Guerra~n~~n~~g~Exercito~r~~n~Pontos: ~w~%d~n~~n~~y~ASFARC~r~~n~Pontos: ~w~%d~n~~n~~w~Guerrilheiros Isaelitas~r~~n~Pontos: ~w~%d",Territorio[almortos], Territorio[exemortos],Territorio[GImortos]); TextDrawSetString(TextGuerra[i], GuerraString); SendFamilyMessage(3,GetPlayerColor(playerid), string); SendFamilyMessage(15,GetPlayerColor(playerid), string); SendFamilyMessage(23,GetPlayerColor(playerid), string); EmGuerra[playerid] = 1; } |
TextDrawShowForPlayer(i, BoxGuerra[i]);
TextDrawShowForPlayer(i, TextGuerra[i]);
TextDrawSetString(TextGuerra[i], GuerraString);
TextDrawShowForPlayer(playerid, BoxGuerra[playerid]);
TextDrawShowForPlayer(playerid, TextGuerra[playerid]);
TextDrawSetString(TextGuerra[playerid], GuerraString);
if(GetPlayerOrg(playerid) == 3 || GetPlayerOrg(playerid) == 6 || GetPlayerOrg(playerid) == 15 || GetPlayerOrg(playerid) == 23)
{
if(TendoGuerra >= 1 && IsPlayerInGuerra(playerid) && EmGuerra[playerid] == 0)
{
new GuerraString[256];
TextDrawShowForPlayer(playerid, BoxGuerra[playerid]);
TextDrawShowForPlayer(playerid, TextGuerra[playerid]);
format(string, sizeof(string), "* %s entrou na zona de Guerra!",PlayerName(playerid));
format(string,sizeof(string),"Pontuacao ~r~Guerra~n~~n~~g~Exercito~r~~n~Pontos: ~w~%d~n~~n~~y~ASFARC~r~~n~Pontos: ~w~%d~n~~n~~w~Guerrilheiros Isaelitas~r~~n~Pontos: ~w~%d",Territorio[almortos], Territorio[exemortos],Territorio[GImortos]);
TextDrawSetString(TextGuerra[playerid], GuerraString);
SendFamilyMessage(3,GetPlayerColor(playerid), string);
SendFamilyMessage(6,GetPlayerColor(playerid), string);
SendFamilyMessage(15,GetPlayerColor(playerid), string);
SendFamilyMessage(23,GetPlayerColor(playerid), string);
EmGuerra[playerid] = 1;
}
if(GetPlayerOrg(playerid) == 3 || GetPlayerOrg(playerid) == 6 || GetPlayerOrg(playerid) == 15 || GetPlayerOrg(playerid) == 23)
{
if(TendoGuerra >= 1 && IsPlayerInGuerra(playerid) && EmGuerra[playerid] == 0)
{
new GuerraString[256];
for(new i; i < MAX_PLAYERS; i++)
{
TextDrawShowForPlayer(i, BoxGuerra[i]);
TextDrawShowForPlayer(i, TextGuerra[i]);
format(string, sizeof(string), "* %s entrou na zona de Guerra!",PlayerName(playerid));
format(string,sizeof(string),"Pontuacao ~r~Guerra~n~~n~~g~Exercito~r~~n~Pontos: ~w~%d~n~~n~~y~ASFARC~r~~n~Pontos: ~w~%d~n~~n~~w~Guerrilheiros Isaelitas~r~~n~Pontos: ~w~%d",Territorio[almortos], Territorio[exemortos],Territorio[GImortos]);
TextDrawSetString(TextGuerra[i], GuerraString);
}
SendFamilyMessage(3,GetPlayerColor(playerid), string);
SendFamilyMessage(6,GetPlayerColor(playerid), string);
SendFamilyMessage(15,GetPlayerColor(playerid), string);
SendFamilyMessage(23,GetPlayerColor(playerid), string);
EmGuerra[playerid] = 1;
}
for (new i=0;i<MAX_PLAYERS;i++){ if(GetPlayerOrg(playerid) == 3 || GetPlayerOrg(playerid) == 15 || GetPlayerOrg(playerid) == 23) if(TendoGuerra >= 1 && IsPlayerInGuerra(playerid) && EmGuerra[playerid] == 0) { new GuerraString[256]; TextDrawShowForPlayer(i, BoxGuerra[i]); TextDrawShowForPlayer(i, TextGuerra[i]); format(string, sizeof(string), "* %s entrou na zona de Guerra!",PlayerName(playerid)); format(string,sizeof(string),"Pontuacao ~r~Guerra~n~~n~~g~Exercito~r~~n~Pontos: ~w~%d~n~~n~~y~ASFARC~r~~n~Pontos: ~w~%d~n~~n~~w~Guerrilheiros Isaelitas~r~~n~Pontos: ~w~%d",Territorio[almortos], Territorio[exemortos],Territorio[GImortos]); TextDrawSetString(TextGuerra[i], GuerraString); SendFamilyMessage(3,GetPlayerColor(playerid), string); SendFamilyMessage(15,GetPlayerColor(playerid), string); SendFamilyMessage(23,GetPlayerColor(playerid), string); EmGuerra[playerid] = 1; }