OnPlayerDeath Scenarios.
#8

thanks, now it works.
would this work?
Код:
			else if(GetPlayerWantedLevel(playerid) >= 6 && GetPlayerWantedLevel(playerid) <= 255)
			{
				new wantedp, rewardp;
				wantedp = GetPlayerWantedLevel(playerid);
				rewardp = GivePlayerMoney(playerid, wantedp *500);
				SetPlayerScore(killerid, GetPlayerScore(killerid)+5);
				SendClientMessage(killerid, COLOR_WHITE, "{FF0000}[Server]:{FFFFFF} You have killed a High suspect player, you got 10K and 5 Score.");
				GivePlayerMoney(killerid, rewardp +1000);
			}
Trying to get the players wantedlevel, wantedlevel X 500 = payment you receive for killing the criminal.
Reply


Messages In This Thread
OnPlayerDeath Scenarios. - by yvoms - 14.01.2016, 21:38
Re: OnPlayerDeath Scenarios. - by Eth - 14.01.2016, 21:44
Re: OnPlayerDeath Scenarios. - by yvoms - 14.01.2016, 21:56
Re: OnPlayerDeath Scenarios. - by yvoms - 14.01.2016, 23:00
Re: OnPlayerDeath Scenarios. - by Eth - 14.01.2016, 23:24
Re: OnPlayerDeath Scenarios. - by yvoms - 14.01.2016, 23:30
Re: OnPlayerDeath Scenarios. - by Eth - 14.01.2016, 23:36
Re: OnPlayerDeath Scenarios. - by yvoms - 15.01.2016, 00:10
Re: OnPlayerDeath Scenarios. - by xTURBOx - 15.01.2016, 03:46
Re: OnPlayerDeath Scenarios. - by Pottus - 15.01.2016, 04:59

Forum Jump:


Users browsing this thread: 1 Guest(s)