haha chrillzen w'sup that me salut693 so unban me from gang wars XD
Edit: Nice script |
if(kill[killerid] >= 2) {
SendClientMessage(killerid,COLOR_GREEN,"One more kill and you'll get tripple kill!");
}
if(kill[killerid] >= 3) {
SendClientMessage(killerid,COLOR_GREEN,"You killed three players you got $10,000, 1 cookie and 20+ health!");
new string[50];
PlayerPlaySound(killerid, 1185, 258.4893,-41.4008,1002.0234);
format(string, sizeof(string), "~w~tripple~r~kill");
GameTextForPlayer(killerid, string, 3000, 6);
SetPlayerHealth(killerid,Health+20);
cookies[playerid] += 1;
GivePlayerMoney(killerid, 10000);
}
if(kill[killerid] >= 5) {
SendClientMessage(killerid,COLOR_GREEN,"One more kill and you'll get mega kill!");
}
if(kill[killerid] >= 6) {
SendClientMessage(killerid,COLOR_GREEN,"Mega kill, you got 30,000, 2 cookies and 20+ health!");
new string[50];
PlayerPlaySound(killerid, 1185, 258.4893,-41.4008,1002.0234);
format(string, sizeof(string), "~w~mega~r~kill");
GameTextForPlayer(killerid, string, 3000, 6);
SetPlayerHealth(killerid,Health+20);
cookies[playerid] += 2;
GivePlayerMoney(killerid, 30000);
}
if(kill[killerid] == 8) {
SendClientMessage(killerid,COLOR_GREEN,"One more kill and you'll get ultra kill!");
}
if(kill[killerid] == 9) {
SendClientMessage(killerid,COLOR_GREEN,"Ultra kill, you got 50,000, 3 cookies and 50+ health!");
PlayerPlaySound(killerid, 1185, 258.4893,-41.4008,1002.0234);
SetPlayerHealth(killerid,Health+50);
cookies[playerid] += 3;
new string[50];
format(string, sizeof(string), "~w~ultra~r~kill");
GameTextForPlayer(killerid, string, 3000, 6);
GivePlayerMoney(killerid, 50000);
}
switch(kill[killerid])
{
case 2:
{
SendClientMessage(killerid,COLOR_GREEN,"One more kill and you'll get tripple kill!");
}
case 3:
{
SendClientMessage(killerid,COLOR_GREEN,"You killed three players you got $10,000, 1 cookie and 20+ health!");
new string[50];
PlayerPlaySound(killerid, 1185, 258.4893,-41.4008,1002.0234);
format(string, sizeof(string), "~w~tripple~r~kill");
GameTextForPlayer(killerid, string, 3000, 6);
SetPlayerHealth(killerid,Health+20);
cookies[playerid] += 1;
GivePlayerMoney(killerid, 10000);
}
case 5:
{
SendClientMessage(killerid,COLOR_GREEN,"One more kill and you'll get mega kill!");
}
case 6:
{
SendClientMessage(killerid,COLOR_GREEN,"Mega kill, you got 30,000, 2 cookies and 20+ health!");
new string[50];
PlayerPlaySound(killerid, 1185, 258.4893,-41.4008,1002.0234);
format(string, sizeof(string), "~w~mega~r~kill");
GameTextForPlayer(killerid, string, 3000, 6);
SetPlayerHealth(killerid,Health+20);
cookies[playerid] += 2;
GivePlayerMoney(killerid, 30000);
}
..........
}
/*
* Killstreak .inc by Lorenc
*
* - For newbs that cannot be bothered to setup killstreak variables and stuff...
* - IS SO COOL!
*
*
*/
#include <a_samp>
#define KS_SHOW_WA_HAPPEN
#define KILLSTREAK_VAR "killstreak_Killstreak"
forward KillstreakData(playerid, killstreak);
public OnPlayerDeath(playerid, killerid, reason)
{
SetPVarInt( killerid, KILLSTREAK_VAR, GetPVarInt( killerid, KILLSTREAK_VAR ) + 1 );
CallLocalFunction( "KillstreakData", "ddd", killerid, GetPVarInt( killerid, KILLSTREAK_VAR ), playerid);
SetPVarInt( playerid, KILLSTREAK_VAR, 0 );
return CallLocalFunction( "killstreak_OnPlayerDeath", "ddd", playerid, killerid, reason );
}
#if defined _ALS_OnPlayerDeath
#undef OnPlayerDeath
#else
#define _ALS_OnPlayerDeath
#endif
#define OnPlayerDeath killstreak_OnPlayerDeath
forward killstreak_OnPlayerDeath( playerid, killerid, reason );
public KillstreakData(playerid, killstreak, endedksplayer)
{
/*
- playerid = the person that made this call back call
- killstreak = what killstreak he is on
- endedksplayer = the player 'playerid' has killed to end there ks
*/
switch(killstreak)
{
case 1: {} // KS 1
case 2: {} // KS 2
case 3: {} // KS 3
case 4: {} // KS 4
}
return 1;
}
Flood? I would not call it flood, not everybody gets to monster kill, it's kind of hard.
|