Help me please, this strings...
#7

Quote:
Originally Posted by new121
Посмотреть сообщение
pawn Код:
public SearchingHit(playerid)
{
new str[256];
new giveplayer[MAX_PLAYER_NAME];
new searchhit = 0;
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(searchhit == 0)
{
if(InfoJugador[i][pHeadValue] > 0 && GotHit[i] == 0 && InfoJugador[i][pMember] != 8)
{
GetPlayerName(i, giveplayer, sizeof(giveplayer));
Replace(giveplayer, "_", "*");
searchhit = 1;
//hitfound = 1;
//hitid = i;
for(new k=0; k<MAX_PLAYERS; k++)
{
if(IsPlayerConnected(k))
{
if(InfoJugador[k][pMember] == 8 || InfoJugador[k][pLeader] == 8)
{
SendClientMessage(k, COLOR_WHITE, "|__________________ Agencia de Sicarios __________________|");
SendClientMessage(k, COLOR_DBLUE, "*** Mensaje entrante: Nuevo trabajo disponible. ***");
format(str,sizeof(str), "Persona: %s   ID: %d   Valor: %d$", giveplayer, i, InfoJugador[i][pHeadValue]);
SendClientMessage(k, COLOR_DBLUE, str);
SendClientMessage(k, COLOR_YELLOW, "Usa Golpe ID, para asignar un contrato a un Sicario.");
SendClientMessage(k, COLOR_WHITE, "|________________________________________________________|");
}
}
}
return 0;
}
}
}
}
if(searchhit == 0)
{
SendClientMessage(playerid, COLOR_GREY, "   No hay contratos disponibles!");
}
return 0;
}

TY!, thanks for the help guys, solved
Reply


Messages In This Thread
Help me please, this strings... - by DatNewbie - 20.03.2012, 02:40
Re: Help me please, this strings... - by new121 - 20.03.2012, 03:03
Re: Help me please, this strings... - by Skribblez - 20.03.2012, 03:07
Re: Help me please, this strings... - by [ABK]Antonio - 20.03.2012, 03:08
Re: Help me please, this strings... - by DatNewbie - 20.03.2012, 03:16
Re: Help me please, this strings... - by new121 - 20.03.2012, 03:40
Re: Help me please, this strings... - by DatNewbie - 20.03.2012, 04:13
Re: Help me please, this strings... - by new121 - 20.03.2012, 04:39

Forum Jump:


Users browsing this thread: 1 Guest(s)