Thread: CS Store + API
View Single Post
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 07-02-2013 , 15:58   Re: CS Store + API
Reply With Quote #34

Quote:
Originally Posted by @.SizNeR View Post
Nice, add a save_user_credits to the API.
You can use the give credits native like this as it auto saves after giving them

give_user_credits( id, 0 );

This will just save the same amount they already have.


EDIT:

Updated Version 1.0.3
Added Save User Credits API Native.
__________________

Last edited by Blizzard_87; 07-02-2013 at 19:21.
Blizzard_87 is offline