filterscript to gamemode money transfer
#1

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
Reply
#2

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

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

what FS are you using?
can you give me the link?
Reply
#5

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
Reply
#6

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
Reply
#7

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

I suggest you use this..

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)