06.03.2011, 14:29
Well I have all my kill streaks done except for the 30 kills streak. The problem is.. I want the dude who has 30 kill streak to have the ability to do /nuke (EVEN IF HE DIES). Keep in mind that /nuke has to kill EVERYONE online. But I'm just a beginner at scripting, so how the fuck could I do that? Here's the part of my script with the kill streaks.
Код:
if(Spree[killerid] == 20) { GivePlayerMoney(killerid, 1000); } if(Spree[killerid] == 21) { GivePlayerMoney(killerid, 1000); SetPlayerHealth(killerid, 100); SetPlayerArmor(killerid, 100); SendClientMessage(killerid, "You have been awarded with full Health and Armor for you kill streak of 21!"); } if(Spree[killerid] == 22) { GivePlayerMoney(killerid, 1000); } if(Spree[killerid] == 23) { GivePlayerMoney(killerid, 1000); } if(Spree[killerid] == 24) { GivePlayerMoney(killerid, 1000); } if(Spree[killerid] == 25) { GivePlayerMoney(killerid, 1000); } if(Spree[killerid] == 26) { GivePlayerMoney(killerid, 1000); GivePlayerWeapon(killerid, 38, 1000); SendClientMessage(killerid, "You have been awarded with a 1000 bullet Minigun for your kill streak of 26!"); } if(Spree[killerid] == 27) { GivePlayerMoney(killerid, 1000); } if(Spree[killerid] == 28) { GivePlayerMoney(killerid, 1000); } if(Spree[killerid] == 29) { GivePlayerMoney(killerid, 1000); } if(Spree[killerid] == 30) { GivePlayerMoney(killerid, 1000); //WHAT DO I DO HERE?!?!?!?! }