22.10.2010, 10:45
Hey, I want to be able to send a message to everyone when someone gets a kill streak.
Currently, I had a message to tell the killer they have a kill streak, but this was just for testing purposes.
How do I change it from SendClientMessage to SendClientMessageToAll and make it all work just like it is above?
Thankyou very much!
Currently, I had a message to tell the killer they have a kill streak, but this was just for testing purposes.
Quote:
new string[MAX_PLAYER_NAME]; new plrname[MAX_PLAYER_NAME]; GetPlayerName(killerid, plrname, sizeof(plrname)); format(string, sizeof(string), "%s got 15 kills in a row!", plrname); SendClientMessage(killerid, 0xFFFFFFAA, string); |
Thankyou very much!