Help (Killing Medals)
#1

hi , i want someone Help Me or Make a Killing Meddals
1kill=First Kill
2kill=Double Kill
3kill=Killing Spree
4kill=Monster
5kill=Hitman
6kill=Kill Dead
7kill=Head Shooter
8kill=God Like

I searched but the scripts don't work for me , so , i need your Help (i want a small script + Unsefull )
Reply
#2

I Didn't made this , i dont know who is
pawn Code:
#include <a_samp>

new Kills[MAX_PLAYERS];
new st[128];
new name[24];
new Killername[24];

#define COLOR_YELLOW 0xFFFF00AA

public OnPlayerDeath(playerid,killerid,reason)
{
    GetPlayerName(playerid,name,sizeof(name));
    GetPlayerName(killerid,Killername,sizeof(Killername));
    if(Kills[playerid] > 2)
    {
        GivePlayerMoney(killerid,3000*GetPlayerWantedLevel(playerid));
        format(st,sizeof(st),"%s was awarded %d for killing %s wanted level %d",Killername,3000*GetPlayerWantedLevel(playerid),name,GetPlayerWantedLevel(playerid));
        SendClientMessageToAll(COLOR_YELLOW,st);
    }
    Kills[playerid] = 0;
    Kills[killerid]++;
    SetPlayerWantedLevel(playerid,0);
    if(Kills[killerid] == 3)
    {
        format(st,sizeof(st),"~S~%s is ~b~dominating!",Killername);
        GameTextForAll(st,5000,4);
        SetPlayerWantedLevel(killerid,1);
    }
    if(Kills[killerid] == 5)
    {
        format(st,sizeof(st),"~S~%s is on a~r~killing spree!",Killername);
        GameTextForAll(st,5000,4);
        SetPlayerWantedLevel(killerid,2);
    }
    if(Kills[killerid] == 8)
    {
        format(st,sizeof(st),"~S~%s ~b~Monster Kill!!!",Killername);
        GameTextForAll(st,5000,4);
        SetPlayerWantedLevel(killerid,3);
    }
    if(Kills[killerid] == 11)
    {
        format(st,sizeof(st),"~S~%s is ~r~Godlike!",Killername);
        GameTextForAll(st,5000,4);
        SetPlayerWantedLevel(killerid,4);
    }
    if(Kills[killerid] == 15)
    {
        format(st,sizeof(st),"~S~%s is ~R~Wiked Sick!",Killername);
        GameTextForAll(st,5000,4);
        SetPlayerWantedLevel(killerid,5);
    }
    if(Kills[killerid] == 18)
    {
        format(st,sizeof(st),"~S~%s ~R~HOLY ~B~SHIT!",Killername);
        GameTextForAll(st,5000,4);
        SetPlayerWantedLevel(killerid,6);
    }
    return 1;
}
Reply
#3

Thank you a lot ! i will Put it now
Reply
#4

oh , i forgot to edit it for ya , take this :
pawn Code:
#include <a_samp>

new Kills[MAX_PLAYERS];
new st[128];
new name[24];
new Killername[24];

#define COLOR_YELLOW 0xFFFF00AA

public OnPlayerDeath(playerid,killerid,reason)
{
    GetPlayerName(playerid,name,sizeof(name));
    GetPlayerName(killerid,Killername,sizeof(Killername));
    if(Kills[playerid] > 2)
    {
        GivePlayerMoney(killerid,3000*GetPlayerWantedLevel(playerid));
        format(st,sizeof(st),"%s was awarded %d for killing %s wanted level %d",Killername,3000*GetPlayerWantedLevel(playerid),name,GetPlayerWantedLevel(playerid));
        SendClientMessageToAll(COLOR_YELLOW,st);
    }
    Kills[playerid] = 0;
    Kills[killerid]++;
    SetPlayerWantedLevel(playerid,0);
    if(Kills[killerid] == 1)
    {
        format(st,sizeof(st),"%s is on First Kill!",Killername);
        SendClientMessageToAll(0xFFFFFFFF,st);
        SetPlayerWantedLevel(killerid,1);
    }
    if(Kills[killerid] == 2)
    {
        format(st,sizeof(st),"%s is on Double Kill!",Killername);
        SendClientMessageToAll(0xFFFFFFFF,st);
        SetPlayerWantedLevel(killerid,2);
    }
    if(Kills[killerid] == 3)
    {
        format(st,sizeof(st),"%s is on Killing Spree!",Killername);
        SendClientMessageToAll(0xFFFFFFFF,st);
        SetPlayerWantedLevel(killerid,3);
    }
    if(Kills[killerid] == 4)
    {
        format(st,sizeof(st),"%s is on Monster Kill!",Killername);
        SendClientMessageToAll(0xFFFFFFFF,st);
        SetPlayerWantedLevel(killerid,4);
    }
    if(Kills[killerid] == 5)
    {
        format(st,sizeof(st),"%s is Hitman!",Killername);
        SendClientMessageToAll(0xFFFFFFFF,st);
        SetPlayerWantedLevel(killerid,5);
    }
    if(Kills[killerid] == 6)
    {
        format(st,sizeof(st),"%s is on Kill Dead!",Killername);
        SendClientMessageToAll(0xFFFFFFFF,st);
        SetPlayerWantedLevel(killerid,6);
    }
    if(Kills[killerid] == 7)
    {
        format(st,sizeof(st),"%s is Head Shooter!",Killername);
        SendClientMessageToAll(0xFFFFFFFF,st);
        SetPlayerWantedLevel(killerid,7);
    }
    if(Kills[killerid] == 8)
    {
        format(st,sizeof(st),"%s is GodLike!",Killername);
        SendClientMessageToAll(0xFFFFFFFF,st);
        SetPlayerWantedLevel(killerid,8);
    }
    return 1;
}
Reply
#5

Lol, You Mean KillStreak?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)