Raised This Month: $319 Target: $400
 79%   Almost there!

OciXCrom's Custom Shop + API


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-01-2019 , 08:12   Re: OciXCrom's Custom Shop + API
Reply With Quote #231

Quote:
Originally Posted by mousesports View Post
How do I advertise on the server for this plugin? I want to know all the players that there is an order / shop
Any advertisement plugin will do the job... Or just use this:

Code:
#include <amxmodx> #include <cromchat> new g_pAdvertFrequency public plugin_init() {     register_plugin("Shop Message in Chat", "1.0", "OciXCrom")     g_pAdvertFrequency = register_cvar("shop_advert_frequency", "120") } public plugin_cfg() {     set_task(get_pcvar_float(g_pAdvertFrequency), "advertise_le_shop", .flags = "b") } public advertise_le_shop() {     CC_SendMessage(0, "&x04* &x01YO everyone, &x03listen up&x01! Type &x04/shop &x01to buy stuff!") }

Cvar: shop_advert_frequency = 120 -- how many seconds between advertisements.
__________________


Dear admins. If somehow you managed to read this, plz fix.

Last edited by OciXCrom; 11-01-2019 at 08:13.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
mousesports
Senior Member
Join Date: Oct 2010
Old 11-02-2019 , 07:18   Re: OciXCrom's Custom Shop + API
Reply With Quote #232

Thank you !
__________________
mousesports is offline
Molecula
Junior Member
Join Date: Feb 2013
Old 11-08-2019 , 03:43   Re: OciXCrom's Custom Shop + API
Reply With Quote #233

hi, is it possible to that if I deactivate one of the options, not to become grey(unavailable) but to desapear from the menu completely, because if I only want 6 out of 20 and i want the 1st item in the shop and the last I still need to go onto the last page instead of having them all the ones that are active on the first

Last edited by Molecula; 11-25-2019 at 11:44. Reason: apologies, I somehow ended using an other version of your plugin, someone played with it, everything works fine
Molecula is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-08-2019 , 08:01   Re: OciXCrom's Custom Shop + API
Reply With Quote #234

What do you mean? If you disable an item, it will be completely gone. It doesn't show them as grey options. How did you exactly deactivate the item? Can you show an image of the greyed out item?
__________________


Dear admins. If somehow you managed to read this, plz fix.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
msbeden
Member
Join Date: Jan 2020
Location: Turkey, Eskisehir
Old 01-18-2020 , 09:58   Re: OciXCrom's Custom Shop + API
Reply With Quote #235

Hello sir.

We use the market plugin you have developed. Very nice plugin, congratulations.

But we have a question. How can we relocate the products?
msbeden is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-18-2020 , 10:00   Re: OciXCrom's Custom Shop + API
Reply With Quote #236

You mean switch the places of items? If yes, open "cshop_items.sma", line 67 (new const g_eItems) - you can move them around in this list. Then recompile the plugin.
__________________


Dear admins. If somehow you managed to read this, plz fix.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
yRestrict
BANNED
Join Date: Apr 2019
Old 02-03-2020 , 10:15   Re: OciXCrom's Custom Shop + API
Reply With Quote #237

I couldn't add items
yRestrict is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-03-2020 , 10:54   Re: OciXCrom's Custom Shop + API
Reply With Quote #238

Quote:
Originally Posted by yRestrict View Post
I couldn't add items
I couldn't read your mind.
__________________


Dear admins. If somehow you managed to read this, plz fix.

Last edited by OciXCrom; 02-03-2020 at 10:54.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
yRestrict
BANNED
Join Date: Apr 2019
Old 02-08-2020 , 11:31   Re: OciXCrom's Custom Shop + API
Reply With Quote #239

google translator does not translate properly
I said you can't add the items
yRestrict is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-08-2020 , 17:25   Re: OciXCrom's Custom Shop + API
Reply With Quote #240

It worked even worse now. Explain what you're trying to do and what the problem is. I still can't read your mind.
Use pictures if you can't use words. 1 picture = 1000 words.
__________________


Dear admins. If somehow you managed to read this, plz fix.

Last edited by OciXCrom; 02-08-2020 at 17:25.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 20:24.


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