Raised This Month: $12 Target: $400
 3% 

CS Store + API


Post New Thread Reply   
 
Thread Tools Display Modes
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 06-05-2013 , 22:03   Re: CS Store + API
Reply With Quote #31

Quote:
Originally Posted by Cheezpuff View Post
that good store for Base Builder Mod
thanks.. now with the API you can set the credits you get on BB same as store.
__________________
Blizzard_87 is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 07-02-2013 , 08:33   Re: CS Store + API
Reply With Quote #32

if you add buy time for weapons example you can buy ak47 for 30 min that will be nice
JusTGo is offline
@.SizNeR
Member
Join Date: Jun 2013
Old 07-02-2013 , 09:21   Re: CS Store + API
Reply With Quote #33

Nice, add a save_user_credits to the API.
@.SizNeR is offline
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
dgdara
BANNED
Join Date: Jan 2013
Location: Bulgaria,Sofia
Old 07-05-2013 , 12:48   Re: CS Store + API
Reply With Quote #35

Can you make a version for ZE so that maybe when u infect someone + 2 credits when kill a zombie + 5 and to be able to add custom items ?
dgdara is offline
Send a message via Skype™ to dgdara
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 07-05-2013 , 17:49   Re: CS Store + API
Reply With Quote #36

Quote:
Originally Posted by dgdara View Post
Can you make a version for ZE so that maybe when u infect someone + 2 credits when kill a zombie + 5 and to be able to add custom items ?
im not adding custom items as ive had great difficulty trying to do so.

and as for the support for ZE, thats why ive added the API system. you can use those natives in other plugins to give extra credits when you see fit.

download the cs-store.inc file and then include it in your ZE plugin then use the give_user_credits native in your deathmsg event.

if you dont know what im talking about please PM your sourcecode from ZE and i will edit it for you.
__________________
Blizzard_87 is offline
EthicalHacker007
Veteran Member
Join Date: May 2014
Old 06-15-2014 , 00:42   Re: CS Store + API
Reply With Quote #37

Quote:
Originally Posted by Blizzard_87 View Post
im not adding custom items as ive had great difficulty trying to do so.
That means I can't add any custom items from other plugins? Example - Bullet damage for a round?
__________________
EthicalHacker007 is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 06-15-2014 , 03:44   Re: CS Store + API
Reply With Quote #38

Quote:
Originally Posted by EthicalHacker007 View Post
That means I can't add any custom items from other plugins? Example - Bullet damage for a round?
This plugin is for inventory items not abilities.
__________________
Blizzard_87 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-14-2016 , 15:08   Re: CS Store + API
Reply With Quote #39

Unapproved per author request.
__________________
HamletEagle is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode