meds fees +1 rep
#7

Replace the OnPlayerDeath part with:

pawn Код:
new localString[128], randomFee = (GetPlayerMoney(playerid) - random(MED_MAX_FEE)+MED_MIN_FEE);
SetPlayerMoney(playerid, randomFee);
format(localString, sizeof(localString), "You have paid $%d for your medical fees", randomFee);
SendClientMessage(playerid, 0xFF0000, localString);
Edit: Forgot to add SendClientMessage()
Reply


Messages In This Thread
meds fees +1 rep - by sscarface - 25.04.2012, 16:44
Re: meds fees +1 rep - by MichaelProPlayer - 25.04.2012, 16:50
Re: meds fees +1 rep - by sscarface - 25.04.2012, 16:54
Re: meds fees +1 rep - by Pinguinn - 25.04.2012, 17:40
Re: meds fees +1 rep - by sscarface - 25.04.2012, 17:44
Re: meds fees +1 rep - by sscarface - 25.04.2012, 17:51
Re: meds fees +1 rep - by Pinguinn - 25.04.2012, 17:56
Re: meds fees +1 rep - by sscarface - 25.04.2012, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)