Cash per IP
#1

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 ?

#2
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

#3

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..

#4

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 Tongue

 

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;
#5


UPDATE bg_user SET cash = 5000;
Even this code is wrong, if you wanna just add, not replace Tongue

 

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 Big Grin

Close please.

#6
its useful but if the ppl created accounts with different ip?

#7

its useful but if the ppl created accounts with different ip?

They should use just one Tongue

 

Closed and moved.



Forum Jump:


Users browsing this thread: 1 Guest(s)