09-15-2013, 05:47 PM
Hi all, I want give free cash all weekend, but some people have 10+ account per 1 IP address.
But i dont want give manually in bg_user this cash.
have method to give cash with command only 1 account get cash per ip ?
|
Cash per IP
|
|
09-15-2013, 05:47 PM
Hi all, I want give free cash all weekend, but some people have 10+ account per 1 IP address. But i dont want give manually in bg_user this cash. have method to give cash with command only 1 account get cash per ip ?
09-15-2013, 05:50 PM
Well for bg_user it could be really easy simply making an SQL execute..but for IP..mm..i dont know,if its possible it will not be that easy
09-15-2013, 05:52 PM
Well for bg_user it could be really easy simply making an SQL execute..but for IP..mm..i dont know,if its possible it will not be that easy yes i know command for give all 5k cash, UPDATE bg_user SET cash = 5000; but i saw some ppl have 10+ account on server atm, and i dont want give 5k cash for this ppls all account..
09-15-2013, 06:16 PM
yes i know command for give all 5k cash, UPDATE bg_user SET cash = 5000; but i saw some ppl have 10+ account on server atm, and i dont want give 5k cash for this ppls all account.. UPDATE bg_user SET cash = 5000; Even this code is wrong, if you wanna just add, not replace ![]() You should use something like that: UPDATE bg_user SET cash = cash + 5000 WHERE user_id = Paramount; I am not sure, but with ip try to make so: UPDATE bg_user SET cash = cash + 5000 WHERE ip = 123.45.67.89 LIMIT 1;
09-15-2013, 06:23 PM
UPDATE bg_user SET cash = 5000; Even this code is wrong, if you wanna just add, not replace ![]() You should use something like that: UPDATE bg_user SET cash = cash + 5000 WHERE user_id = Paramount; I am not sure, but with ip try to make so: UPDATE bg_user SET cash = cash + 5000 WHERE ip = 123.45.67.89 LIMIT 1; Thank you,Work Perfect ![]() Close please.
09-15-2013, 06:27 PM
its useful but if the ppl created accounts with different ip?
09-15-2013, 06:28 PM
its useful but if the ppl created accounts with different ip? They should use just one ![]() Closed and moved. |
|
« Next Oldest | Next Newest »
|