explanation on saving then giving - 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: explanation on saving then giving (
/showthread.php?tid=164815)
explanation on saving then giving -
Kar - 02.08.2010
Could Someone Explain To Me how would someone buy something then the other does /getmoney and he gets the money(You Didn't UnderStand That.)
ok like
I walk Into My Business Then I Walk Into The Checkpoint I Buy A Sprunk that should store like $3 into a file or something maybe? so when the owner comes online. he may go to his business and collect the payment made
just need a little explanation before i start it
also what would be behind? x-1?
Re: explanation on saving then giving -
Jamal' - 02.08.2010
public OnPlayerCheckpoint(playerid, cordinates?
Then add functions to give the players money
using the right string slot ?
Maybe its something like it
Re: explanation on saving then giving -
willsuckformoney - 02.08.2010
best use a Checkpoint steamer
Re: explanation on saving then giving -
Jamal' - 02.08.2010
Maybe i never tryed it...Good luck
Re: explanation on saving then giving -
Kar - 02.08.2010
you guys dont comprende. not a checkpoint streamer
someone buys something from the store then the owner goes in and gets the cash
Re: explanation on saving then giving -
Retardedwolf - 02.08.2010
Kar.
You use a enum for the business.
Example.
SBizzInfo[0][sbTill] += SBizzInfo[0][sbEntranceCost];
From GF.
Then you add a command for the owner to get the cash out.
Re: explanation on saving then giving -
Kar - 02.08.2010
are you in wonderland?
nvm this. i will just add the cash to the persons bank account. when someone buys something