new name1[MAX_PLAYER_NAME+1] = GetPlayerName(killerid, name1, sizeof(name1)); switch(killstreak[killerid]) { case 1: { SendClientMessage(killerid, -1,"Your now on Killstreak of 1!"); } case 5: { SendClientMessage(killerid, -1,"Your now on Killstreak of 5!!"); forward(string, sizeof(string), "NEW KILLER %s has killed 5 suspects!, stop him and KILL him!", name1); SendClientMessageToAll(COLOR_RED, string); } case 10: { SendClientMessage(killerid, -1,"Your now on Killstreak of 10!!"); forward(string, sizeof(string), "POWER KILLER %s has killed 10 suspects!, stop him and KILL him!", name1); SendClientMessageToAll(COLOR_RED, string); } case 15: { SendClientMessage(killerid, -1,"Your now on Killstreak of 15!!"); forward(string, sizeof(string), "HARDCORE KILLER %s has killed 15 suspects!, stop him and KILL him!", name1); SendClientMessageToAll(COLOR_RED, string); } case 20: { SendClientMessage(killerid, -1,"Your now on Killstreak of 20!!"); forward(string, sizeof(string), "MONSTER KILLER %s has killed 20 suspects!, stop him and KILL him!", name1); SendClientMessageToAll(COLOR_RED, string); } case 30: { SendClientMessage(killerid, -1,"Your now on Killstreak of 30!!"); forward(string, sizeof(string), "UBER KILLER %s has killed 30 suspects!, stop him and KILL him!", name1); SendClientMessageToAll(COLOR_RED, string); } case 50: { SendClientMessage(killerid, -1,"Your now on Killstreak of 50!!"); forward(string, sizeof(string), "ULTIMATE MASTER KILLER %s has killed 50 suspects!, stop him and KILL him!", name1); SendClientMessageToAll(COLOR_RED, string); } }
new name1[MAX_PLAYER_NAME+1];
GetPlayerName(killerid, name1, sizeof(name1));
forward(string, sizeof(string)
format(string, sizeof(string)
new name1[MAX_PLAYER_NAME+1] = GetPlayerName(killerid, name1, sizeof(name1));
new name1[MAX_PLAYER_NAME];
GetPlayerName(killerid, name1, sizeof(name1));
Change every single line of:
pawn Код:
pawn Код:
pawn Код:
pawn Код:
|
Try this:
pawn Код:
|