SA-MP Forums Archive
Raven's Roleplay Bank - 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)
+--- Thread: Raven's Roleplay Bank (/showthread.php?tid=349054)



Raven's Roleplay Bank - Jason_Dealley - 07.06.2012

I want to change the money you get from robbing the bank anyone knows the location?


Re: Raven's Roleplay Bank - ReneG - 07.06.2012

Search around in the script for a robbank command or something.


Re: Raven's Roleplay Bank - Jason_Dealley - 07.06.2012

Код:
{
				        SendClientMessage(playerid, COLOR_ORANGE, "* You are now Robbing the bank , please remain in the checkpoint for 95 Seconds!");
	                    RobbingTime[playerid] = 95;
						RobBankTimer = SetTimerEx("RobBank",1000,true,"i",playerid);
			            WantedPoints[playerid] = 5;
			            SetPlayerCriminal(playerid,255, "Robbing the Bank");
			            PlayerInfo[playerid][pRobTime] = 900;
			            BankRobbedRecently = 1;
						SetTimer("UnsetBankRob",1500000,false);
						OnePlayAnim(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0); // Rob Lookout
					}
Know where?


Re: Raven's Roleplay Bank - ReneG - 07.06.2012

Look at the "RobBank" function that the timer calls.

That's where the payout occurs I think.


Re: Raven's Roleplay Bank - Jason_Dealley - 07.06.2012

oke thanks!