paycheck help larp - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: paycheck help larp (
/showthread.php?tid=161922)
paycheck help larp -
heroyou1221 - 21.07.2010
hello. Can someone tell me how i change Larp gamemode payday money like polise get 2000$ and more how i change it when payday come then everyone get random money everytime help please.
Re: paycheck help larp -
Mauzen - 21.07.2010
I dont know the larp code, but somewhere there should be a GivePlayerMoney. Replace the amount the player gets by random(maximum he should get)
Re: paycheck help larp -
heroyou1221 - 22.07.2010
i need more help
Re: paycheck help larp -
Jose 510 - 22.07.2010
Its really not that hard. Just do what Mauzen said. If creating a random amount of cash for payday is hard for you to do, then give up on scripting. No offense
Re: paycheck help larp -
Billy_Macan - 22.07.2010
This has to be one of the most basic things a person must do. Just do what was said above.... If you can't do it, Then don't script/Own a server. Alternativley, Hire a scripter.
Re: paycheck help larp -
Bumbis - 22.07.2010
I think that is on this line >>>
pawn Код:
if(PlayerInfo[i][pPayDay] >= 5)
{
Tax += SInfo[0][SafeTax];//Should work for every player online
PlayerInfo[i][pAccount] -= SInfo[0][SafeTax];
new checks = PlayerInfo[i][pPayCheck] / 10;
the last line.. Change 10, thats divides the pPayCheck, the higher is that "10", then lower is the paycheck...
I think that, try it maybe works..