Automatic Wanteds
#1

Hi guys.
In my automatic Wanted award there is a problem.
If a Hitman has a contract and kills someone, he gets 2 Wanteds, but I would be happy that he gets only 1 Wanted.
Can someone help me please?
Here is my code:

if(!IsACop(killerid) && GotHit[killerid] == 0)
{
WantedLevel[killerid]+=1;
SetPlayerCriminal(killerid, 255, "Mord");
}
else if(!IsACop(killerid) && GotHit[killerid] == 1)
{
SetPlayerCriminal(killerid, 255, "Mord (Auftrag)");
}

under OnPlayerDeath

Sincerely, Imagician.
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: 1 Guest(s)