[ajuda] coisa simples
#2

Faзa sua base
pawn Код:
//Topo
new GangMT[MAX_PLAYERS];

public OnPlayerRequestSpawn(playerid)
{
if(GangMT[playerid] == 0)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Bozo ", PlayerName(playerid)), SendClientMessageToAll(BOZOCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 1)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Boyzinhos ", PlayerName(playerid)), SendClientMessageToAll(BOYZINHOSCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 2)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Gate ", PlayerName(playerid)), SendClientMessageToAll(SWATCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 3)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Militares ", PlayerName(playerid)), SendClientMessageToAll(ARMYSCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 4)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Chineses ", PlayerName(playerid)), SendClientMessageToAll(CHINESCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 5)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Frango ", PlayerName(playerid)), SendClientMessageToAll(FRANGOCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 6)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Agentes ", PlayerName(playerid)), SendClientMessageToAll(AGENTECOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 7)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Noias ", PlayerName(playerid)), SendClientMessageToAll(NOIASCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 8)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang:  Gangsters", PlayerName(playerid)), SendClientMessageToAll(AZTECASCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 9)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: CowBoys ", PlayerName(playerid)), SendClientMessageToAll(COWBOYSCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 10)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Cj ", PlayerName(playerid)), SendClientMessageToAll(GROVECOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 11)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Ballas ", PlayerName(playerid)), SendClientMessageToAll(BALLASCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 12)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Motoqueiros ", PlayerName(playerid)), SendClientMessageToAll(0x000253AA, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
return 1;
}
Reply


Messages In This Thread
[ajuda] coisa simples - by aleex995 - 28.02.2012, 18:37
Re: [ajuda] coisa simples - by [LF]PlaYer_. - 28.02.2012, 18:43
Re: [ajuda] coisa simples - by aleex995 - 28.02.2012, 18:51
Re: [ajuda] coisa simples - by [LF]PlaYer_. - 28.02.2012, 18:54
Re: [ajuda] coisa simples - by GuiihCamargo - 28.02.2012, 18:55
Re: [ajuda] coisa simples - by aleex995 - 28.02.2012, 18:57
Re: [ajuda] coisa simples - by GuiihCamargo - 28.02.2012, 19:13
Re: [ajuda] coisa simples - by aleex995 - 28.02.2012, 19:19
Re: [ajuda] coisa simples - by [LF]PlaYer_. - 28.02.2012, 19:23
Re: [ajuda] coisa simples - by aleex995 - 28.02.2012, 19:31

Forum Jump:


Users browsing this thread: 2 Guest(s)