26.09.2012, 18:54
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?
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?