Automatic Wanteds
#10

Hmm, try this, but change it to your hitman variable IF you want or leave it to mine:

pawn Код:
// top of script

new IsHitman[MAX_PLAYERS];

// in your " choose skill " menu or whatever/wherever you choose hitman skill

IsHitman[playerid] = 1;

// onplayerdeath

new plwl = GetPlayerWantedLevel(killerid);
new str[128];
if(!IsACop(killerid) && GotHit[killerid] == 0 && IsHitman[killerid] == 0)
{
    SetPlayerWantedLevel(killerid, plwl += 1);
    SetPlayerCriminal(killerid, 255, "Mord");
    format(str,128,"Wanted Level %d",plwl); SendClientMessage(killerid,COLOR,str);
}
else if(!IsACop(killerid) && GotHit[killerid] == 1 && IsHitman[killerid] == 1)
{
    SetPlayerWantedLevel(killerid, plwl += 1);
    SetPlayerCriminal(killerid, 255, "Mord (Auftrag)");
    format(str,128,"Wanted Level %d",plwl); SendClientMessage(killerid,COLOR,str);
}
Reply


Messages In This Thread
Automatic Wanteds - by imagician - 17.09.2011, 14:37
Re: Automatic Wanteds - by Tee - 17.09.2011, 14:39
Re: Automatic Wanteds - by imagician - 17.09.2011, 14:40
Re: Automatic Wanteds - by =WoR=Varth - 17.09.2011, 14:42
Re: Automatic Wanteds - by imagician - 17.09.2011, 14:44
Re: Automatic Wanteds - by grand.Theft.Otto - 17.09.2011, 14:44
Re: Automatic Wanteds - by imagician - 17.09.2011, 14:46
Re: Automatic Wanteds - by Tee - 17.09.2011, 14:48
Re: Automatic Wanteds - by imagician - 17.09.2011, 14:50
Re: Automatic Wanteds - by grand.Theft.Otto - 17.09.2011, 14:50

Forum Jump:


Users browsing this thread: 3 Guest(s)