• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Help with kill streack
#1
Hello?

i have kill streack on my server and i want to show a message who end a kill streack of someone?

example ( player1?ended streack of players 2 )



Quote:public OnPlayerDeath(playerid,killerid,reason)

{

new str[128];

new name[32];

GetPlayerName(killerid,name,32);





killstreak[killerid];

killstreak[playerid] = 0;





switch(killstreak[killerid])

{



case 3:

{



format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"Killing Spree"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 5:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"Dominating!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 6:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"UnStoppable!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 7:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"Wicked Sick!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 8:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"Monster like!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 9:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"GOD LIKE!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 10:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"Immortal!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

SetPlayerArmour(killerid,100);

}

}

return 1;

}
  Reply


Messages In This Thread
Help with kill streack - by DaZzY - 2020-11-11, 02:07 PM
RE: Help with kill streack - by DaZzY - 2020-11-11, 08:13 PM
RE: Help with kill streack - by Expert* - 2020-11-12, 08:11 PM
RE: Help with kill streack - by Pinch - 2020-11-12, 08:25 PM
RE: Help with kill streack - by DaZzY - 2020-11-12, 10:18 PM

Forum Jump: