Raised This Month: $32 Target: $400
 8% 

Prices plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eternityy
Junior Member
Join Date: Nov 2020
Old 11-02-2020 , 06:10   Prices plugin
Reply With Quote #1

Hi

does anyone have a plugin that shows a motd whenever you type a command (ex. /prices)

I need a plugin that will show a MOTD whenever i type /cene (serbian for /prices) so that people can see the prices for ex. VIP, SuperVIP, Admin etc.

Thank you! <3
eternityy is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-02-2020 , 07:29   Re: Prices plugin
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=297627
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
eternityy
Junior Member
Join Date: Nov 2020
Old 11-02-2020 , 07:47   Re: Prices plugin
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
Thanks! <3
eternityy is offline
eternityy
Junior Member
Join Date: Nov 2020
Old 11-02-2020 , 07:58   Re: Prices plugin
Reply With Quote #4

Quote:
Originally Posted by OciXCrom View Post
Hey, i cant seem to get it to work.

Can you give me a step-by-step explanation on how to configure it?

Thank you and sorry for bothering
eternityy is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-02-2020 , 08:25   Re: Prices plugin
Reply With Quote #5

Quote:
Originally Posted by eternityy View Post
Hey, i cant seem to get it to work.

Can you give me a step-by-step explanation on how to configure it?

Thank you and sorry for bothering
Make a new .txt file called prices.txt and put it in your cstrike folder.

Edit the .ini file and add this to it: /prices = prices.txt

This is just a simple example, OciXCrom has more examples on his page.
__________________

Last edited by Napoleon_be; 11-02-2020 at 08:25.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
eternityy
Junior Member
Join Date: Nov 2020
Old 11-02-2020 , 08:45   Re: Prices plugin
Reply With Quote #6

Quote:
Originally Posted by Napoleon_be View Post
Make a new .txt file called prices.txt and put it in your cstrike folder.

Edit the .ini file and add this to it: /prices = prices.txt

This is just a simple example, OciXCrom has more examples on his page.
Hey!

I already did that, but it did not work.

I do not know why as i did everything correctly.

Question: Do i just put whatever i want in the .txt file?

For example if i write in it just

Prices

Hook = 1 boost
Grab = 1 boost
VIP = 1 boost or 2$

or do i need to write something else?
eternityy is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-02-2020 , 08:51   Re: Prices plugin
Reply With Quote #7

Did you compile and add the plugin?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
eternityy
Junior Member
Join Date: Nov 2020
Old 11-02-2020 , 08:55   Re: Prices plugin
Reply With Quote #8

Quote:
Originally Posted by OciXCrom View Post
Did you compile and add the plugin?
Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/tmp/textXlN9BB.sma(1) : error 013: no entry point (no public functions)

1 Error.
Could not locate output file /home/groups/amxmodx/public_html/websc3/textXlN9BB.amx (compile failed).

I also filled the new const g_szSayStuff[2][] = { "say ", "say_team " } with what i want to be.

Last edited by eternityy; 11-02-2020 at 08:56.
eternityy is offline
eternityy
Junior Member
Join Date: Nov 2020
Old 11-02-2020 , 08:57   Re: Prices plugin
Reply With Quote #9

Quote:
Originally Posted by eternityy View Post
Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/tmp/textXlN9BB.sma(1) : error 013: no entry point (no public functions)

1 Error.
Could not locate output file /home/groups/amxmodx/public_html/websc3/textXlN9BB.amx (compile failed).

I also filled the new const g_szSayStuff[2][] = { "say ", "say_team " } with what i want to be.
wait nvm i compiled it imma see if it works now
eternityy is offline
eternityy
Junior Member
Join Date: Nov 2020
Old 11-02-2020 , 09:04   Re: Prices plugin
Reply With Quote #10

Quote:
Originally Posted by OciXCrom View Post
Did you compile and add the plugin?
Yes, and it works now!

Though when i type /cene, there is just the name of the txt file (Cene.txt)
eternityy is offline
Reply



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 07:05.


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