Using database enums from GM inside an FS
#1

Hi there,

I have a truck system in a filterscript, however I am wondering how I can add cash to a players account. The thing is, GivePlayerMoney won't work, because it gives the cash, but then returns the cash to the original state, by taking the information from the column of the gamemode's database.

How can I make it so it adds the cash into Player[playerid][Money] array, in the quickest and most efficient way possible, using a filterscript? Do I have to add all of the enums and MySQL functions into the filterscript as well as the gamemode, or can this be somehow bypassed?
Reply


Messages In This Thread
Using database enums from GM inside an FS - by HighFlyer - 26.09.2012, 18:54
Re: Using database enums from GM inside an FS - by Roko_foko - 26.09.2012, 19:21
Re: Using database enums from GM inside an FS - by HighFlyer - 26.09.2012, 19:28
Re: Using database enums from GM inside an FS - by Sinner - 27.09.2012, 07:42

Forum Jump:


Users browsing this thread: 1 Guest(s)