13.07.2012, 22:53
Nгo sei se й isto que vocк estб falando mas se nгo for eu procuro...
Ou:
pawn Код:
if(dini_Int(file2, "DM") == 1){
new string[256];
format(string, sizeof(string), "(INFO) %s matou o jogador %s e esta sendo procurado!",kname, aname);
SendClientMessageToAll(msgdm3, string);
SendClientMessage(killerid, msgdm, "(INFO) Vocк estб sendo procurado por assasinato!");
SetPlayerWantedLevel(playerid, 6);
dini_IntSet(file, "Procurado", 1);
Procurados[playerid]= 1;
Procurados[killerid] = 1;
}
return 1;
}
pawn Код:
if(strcmp(cmdtext, "/procurados", true) == 0){
SendClientMessage(playerid,0x008000AA,".:: Procurados ::.");
new Jogador[24];
new count = 0;
new msg[120];
for(new i=0; i<MAX_PLAYERS; i++){
if(IsPlayerConnected(i) && Procurados[i]){
GetPlayerName(i,Jogador,24);
format(msg,sizeof(msg),"%s (ID: %d)", Jogador,i);
SendClientMessage(playerid, 0x0088CAAA, msg);
count++;
}
}
if(count == 0){
SendClientMessage(playerid, 0xFF0000AA, "Ninguйm online esta Procurado!");
}
return 1;
}


