Hello everybody, i have a question.... for example in public bomb_planted(index) i want to print two messages, one to planter and one message to other players excluding planter index...
Is right this method?
PHP Code:
public bomb_planted(id) {
new pName[32];
get_user_name(id, pName, charsmax(pName));
new Players[32];
new playerCount, i, player;
get_players(Players, playerCount, "b");
for(i = 0; i < playerCount; i++)
player = Players[i];
if(player == id) {
K1d0x_C_Color(id, "#c[#gBonus Credits#c] #c%L", id, "FOR_BOMB_PLANTED", iShowCredits);
} else {
K1d0x_C_Color(player, "#c[#gBonus Credits#c] #t%s #c%L", pName, player, "BOMB_PLANTED", iShowCredits);
}
}
__________________