SA-MP Forums Archive
filterscript to gamemode money transfer - 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: filterscript to gamemode money transfer (/showthread.php?tid=298514)



filterscript to gamemode money transfer - jtweak - 21.11.2011

title pretty much explains it, i just want to know how i can make a filterscript (like a gun shop) deduct money from the player, i found PVar in my gamemode, but its not working, please help me, thank you


Re: filterscript to gamemode money transfer - Alberto_DR - 21.11.2011

link it to the game mode and use "foreign" to forward it.


Re: filterscript to gamemode money transfer - jtweak - 21.11.2011

how? sorry for being a noob, im very new to scripting, and it doesn't help that im beginning scripting with a RP lol.


Re: filterscript to gamemode money transfer - Alberto_DR - 21.11.2011

what FS are you using?
can you give me the link?


Re: filterscript to gamemode money transfer - jtweak - 21.11.2011

i dont remember which i am using, and there were no credits in the FS itself, but i put the FS on pastebin, here is the link http://pastebin.com/vVRKECpM


Re: filterscript to gamemode money transfer - Jack_Leslie - 21.11.2011

I'm pretty sure you have to use pVars.

https://sampwiki.blast.hk/wiki/Per-player_variable_system
https://sampforum.blast.hk/showthread.php?tid=268499


Re: filterscript to gamemode money transfer - jtweak - 21.11.2011

yes, i have PVars but where and how would i put that in the FS?


Re: filterscript to gamemode money transfer - Alberto_DR - 21.11.2011

I suggest you use this..

https://sampforum.blast.hk/showthread.php?tid=222266


Re: filterscript to gamemode money transfer - jtweak - 21.11.2011

oh jeez, thank you very much, that is WAY better then the one i was using, thank you, im going to rep you


Re: filterscript to gamemode money transfer - jtweak - 21.11.2011

again, its not subtracting the money from the player..