Hi, Basically i have a working zaypay script but the issue I have is that when I pay with the SMS etc
The points are not added into the Premium_points column in Accounts.
The points are only added when the Premium_points column reads "0" or any number.
The problem i have is that when the accounts are made in-game the premium_points is set to NULL and that is the reason points are not added!
How can i change all of the NULL to 0? Also how do i make it so that they are 0 for every account register? I should make a onLogin script? I suck at luaSQL can anyone help me?
Like example if premium_points NULL then set to 0. however you do that in luaSQL
The points are not added into the Premium_points column in Accounts.
The points are only added when the Premium_points column reads "0" or any number.
The problem i have is that when the accounts are made in-game the premium_points is set to NULL and that is the reason points are not added!
How can i change all of the NULL to 0? Also how do i make it so that they are 0 for every account register? I should make a onLogin script? I suck at luaSQL can anyone help me?
Like example if premium_points NULL then set to 0. however you do that in luaSQL