ajudinha aki pessoal
#6

tipo o codigo /dominar e assim


Quote:

if(strcmp(cmd, "/dominar", true) == 0 || strcmp(cmd, "/do", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)// COMANDO
{
if(IsPlayerInMorro(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк jб estб dominando um territуrio.");
return 1;
}
if(MorreuNoMorro[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк morreu nessa GZ em menos de 10 minutos e nгo pode domina-la.");
return 1;
}
if(GuerranoMorro == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territуrio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME,ftext);
format(string, sizeof(string), "[GZ] %s e o comando vermelho estб dominando a Favela da ORG '%s'",playername);
SendClientMessageToAll(TEAM_COMANDO_COLOR, string);

Ala ja tem GetPlayerName , o que eu coloco nele , para aparecer o nome da org Dona ?
Reply


Messages In This Thread
ajudinha aki pessoal - by zbt_Daimyo - 23.01.2011, 10:37
Re: ajudinha aki pessoal - by PsyShotter - 23.01.2011, 11:22
Re: ajudinha aki pessoal - by TiagoPS - 23.01.2011, 14:18
Re: ajudinha aki pessoal - by zbt_Daimyo - 23.01.2011, 14:38
Re: ajudinha aki pessoal - by [Ips]Guh - 23.01.2011, 15:03
Re: ajudinha aki pessoal - by zbt_Daimyo - 23.01.2011, 17:51

Forum Jump:


Users browsing this thread: