Hi!
How do I add credits ( fluxcp) using sql?
If the player does not have credit it uses the INSERT INTO sql command. If the player has credits it uses only the UPDATE sql command to add more credit.
20400,Credits_ticket,Credits_ticket,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ query_sql("UPDATE `rathenadb`.`cp_credits` SET `balance` = +'1000' WHERE `cp_credits`.`account_id` = 2000000;");},{},{}
Thanks!