Hello Guys I Need A Script Like That When A Person Kill Other Player Then The Wanted Level Increase To 1 And Then A Player Kills The 1 Wanted Level player He Will Get Reward Of 100 And If He kill 2 Wanted Level Player He Will Get 300 As Like That If He Kills 6 Wanted Level Player He Will Get 50000 OK
Thanks in ADVANCE
function onPlayerKill(killer,player,reason,bodypart)
{
if(player.WantedLevel == 1)
{
killer.Cash += 100
killer.WantedLevel += 1
}
if(player.WantedLevel == 2)
{
killer.Cash += 300
killer.WantedLevel += 1
}
if(player.WantedLevel == 6)
{
killer.Cash += 50000
killer.WantedLevel += 1
}
}
But How It Will Increase The Player WANTED LEVEL Need A Script For Increasing Player WANTED Levels On KILLING
As
@Kewun posted, use player.WantedLevel
Won't works
Use This
function onPlayerKill( killer, player, reason, bodypart )
{
killer.WantedLevel++;
player.WantedLevel--;
if ( killer.WantedLevel == 1 )
{
killer.Cash += 4000;
}
else if ( killer.WantedLevel == 2 )
{
killer.Cash += 8000;
}
else if ( killer.WantedLevel == 3 )
{
killer.Cash += 12000;
}
else if ( killer.WantedLevel >= 4 )
{
killer.Cash += 50000;
}
}
Kewun Your Script Didn't Works Thanks Finch Real Your Script Works Thanks BRO
THEN EITHER SAY IT IS KILLER OR PLAYER. YOU SAID PLAYER SO I PUT PLAYER. OMG. THATS WHY NOT WORKS.
The problem is your english. I did not understand you i trough you want reward for player.
Quote from: Kewun on Jul 24, 2016, 03:40 AMTHEN EITHER SAY IT IS KILLER OR PLAYER. YOU SAID PLAYER SO I PUT PLAYER. OMG. THATS WHY NOT WORKS.
The problem is your english. I did not understand you i trough you want reward for player.
After this, he will write the text with the size 48 lol
yeah, i can feel he will reply with big text again
Quote from: razacharan on Jul 23, 2016, 01:50 PMHello Guys I Need A Script Like That When A Person Kill Other Player Then The Wanted Level Increase To 1
Problem is in your mind
@Kewun
Says the one who is angry.
Ok Ok Guys Its Enough Thank You Guys For YOUR Help