if(strcmp(cmd, "/bounties", true) == 0) { //** new tmp[256]; new x; SendClientMessage(playerid, COLOR_GREEN, "Current Bounties:"); for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && bounty[i] > 0) { new name[MAX_PLAYER_NAME]; new stringd[255]; GetPlayerName(i, name, sizeof(name)); format(stringd, sizeof(stringd), "%s(%d): $%d",name,i,bounty[i]); SendClientMessage(playerid,COLOR_YELLOW,stringd); x = 1; } } if(x != 1) { SendClientMessage(playerid,COLOR_YELLOW,"There are no bounties"); } return 1; }