Auto money Loss Bug
#1

Hello GUyz I need a Bit help i dont know When player die or do use /kill he loss 100 $ i check script but i dont know what is this bug
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	SendDeathMessage(killerid, playerid, reason);
	 SetPlayerScore (killerid, GetPlayerScore (killerid) + 1);
	SendClientMessage(killerid,COLOR_LIGHTGREEN,"You Have Get 2$ For and 1 Score ");
	Player[killerid][pKills]++;
   	Player[playerid][pDeaths]++;
   	FogEnabled[playerid] = false;
	GivePlayerMoney(killerid,2);
    }
	return 1;
}
But why Player Loss Cash 100$ Help plz
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=483679
Reply
#3

GivePlayerMoney(killerid,2);

The '2' is most likely a define..
Look for:

#define 2

set that to 0.
If that doesnt work, PM me
Reply
#4

Plz help me Guyz To Fix This BUg some budy give me Code Plz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)