Problem with /duel cmd need help
#5

Код:
		if(Duel[killerid]==1 && Duel[playerid]==1)
		{
		Duel[killerid]=0;
		Duel[playerid]=0;
		format(Message, 128, "SERVER : %s have win the duel challenge against %s and got %d",GetName(killerid),GetName(playerid),Amount[playerid]);
		SCMToAll(COLOR_YELLOW,Message);
		GivePlayerCash(killerid, Amount[playerid]);
		GivePlayerCash(playerid, GetPlayerMoney(playerid)-Amount[playerid]);
        }

I'm doing this OnPlayerDeath
But it not giving that amount. why ?
Reply


Messages In This Thread
Problem with /duel cmd need help - by MBilal - 14.02.2015, 17:41
Re: Problem with /duel cmd need help - by Golf - 14.02.2015, 17:51
Re: Problem with /duel cmd need help - by MBilal - 14.02.2015, 17:53
Re: Problem with /duel cmd need help - by Golf - 14.02.2015, 18:01
Re: Problem with /duel cmd need help - by MBilal - 14.02.2015, 18:03
Re: Problem with /duel cmd need help - by Golf - 14.02.2015, 18:08

Forum Jump:


Users browsing this thread: 2 Guest(s)