Using a Dealership FS with a gamemode, problems with money
#1

Hi guys,
So I'm trying to use a FS as a temp. dealership cause I need one as soon as possible and that's the fastest alternative, but none of them work with my gamemode (GF Core). Everytime a player buys a car, the money resets. So how would I go about making the money actually come off the players account in the FS? :S
Reply
#2

Anyone who scripts for money should be proficient enough a scripter to at least know this...

Use PVars (https://sampwiki.blast.hk/wiki/Per-player_variable_system) to communicate information between your scripts. An enhanced tutorial on doing so: https://sampforum.blast.hk/showthread.php?tid=261584
Reply
#3

bah... mispost
Reply
#4

Which FS is it?
Reply
#5

You will need to have the money save into a file, so when you login in the money is loaded. When you leave the game the money saves. Make the filterscript load off of the Gamemode
Reply
#6

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
Anyone who scripts for money should be proficient enough a scripter to at least know this...

Use PVars (https://sampwiki.blast.hk/wiki/Per-player_variable_system) to communicate information between your scripts. An enhanced tutorial on doing so: https://sampforum.blast.hk/showthread.php?tid=261584
^_^ Yeah probably true but I've never done this kinda thing before.

Thankyou.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)