if(Gang[i] == SWAT)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Swat' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == GROOVER)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Groovers' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == BALLAS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Ballas' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == CHINEZES)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Chineses' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == BOYZINHOS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Boyzinhos' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == MEDICOS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Medicos' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == RAPPERS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Rappers' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == FRANGOS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Frangos' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == GATINHAS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Gatinhas' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == MILITARES)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Militares' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == OPERARIOS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Operarios' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == BOMBEIROS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] A Gang: 'Bombeiros' dominou mais um territуrio");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
}
}
}
}
if(Gang[i] == SWAT)
{
SetPlayerWantedLevel(i, newlevel);
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "O player %s da gang 'Swat' dominou mais um territуrio!",playername);
SendClientMessageToAll(0xFFFF00AA, stringx);
}
GetPlayerName(playerid, nick, 24 );
nick
if(Gang[i] == SWAT)
{
SetPlayerWantedLevel(i, newlevel);
GetPlayerName(playerid, nick, 24 );
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Swat) Dominou Mais um territуrio", nick);
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == GROOVER)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Groovers) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == BALLAS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Ballas) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == CHINEZES)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Chinezes) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == BOYZINHOS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Boyzinhos) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == MEDICOS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Mйdicos) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == RAPPERS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Rappers) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == FRANGOS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Frangos) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == GATINHAS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Gatinhas) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == MILITARES)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Militares) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == OPERARIOS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Operarios) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
else if(Gang[i] == BOMBEIROS)
{
SetPlayerWantedLevel(i, newlevel);
format(stringx, sizeof stringx, "[GangZone] O Player $s da Gang (Bombeiros) Dominou Mais um territуrio", nick");
SendClientMessageToAll(0xFFFF00AA, stringx);
}
}
}
}
}
new nome[MAX_PLAYERS];
GetPlayerName(playerid, nome, sizeof nome);
format(lala, sizeof lala,"Nome: %s - Gang: %s", nome, gang);
Coe cara, quer cуdigo pronto tambйm ? #boicote |