All pastes #806767 Raw Edit

Someone

public text v1 · immutable
·published 2007-12-05 22:20 UTC
rendered paste body
public PayDay(playerid)
{
 new string[256], cash[256];

 if (lspd[playerid] == 1 || swat[playerid] == 1 || samf[playerid] == 1)
 {
	cash = 5000;
 }
 if (tpdv[playerid] = 1)
 {
 cash = 8000;
 }
 if(jobplayer[playerid] != 9999)
 {
 cash = 2000;
		}
		else
		{
		    cash = 500;
		}
	}
 }

 format(string, sizeof(string),"~r~Pay~b~Day ~n~ ~n~ ~b~%d $",cash);
 GameTextForPlayer(playerid,string, 1000, 1);
 GivePlayerMoney(playerid,cash);
}