Raised This Month: $ Target: $400
 0% 

Sell Items


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
striker4040
Junior Member
Join Date: Nov 2006
Old 01-26-2007 , 19:59   Sell Items
Reply With Quote #1

Hi. I would appreciate it if someone could code a plugin for CS 1.6 where you can sell your items. Perhaps a menu, it would like it very much if someone could do this for me. Thnx,
striker4040 is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 01-27-2007 , 00:36   Re: Sell Items
Reply With Quote #2

hmm i think it will not be so hard to code, when i have more free time i will look into it couse it could be somehow useful
__________________
Voi is offline
Dark Killer
Senior Member
Join Date: May 2005
Location: Kowloon, Hong Kong
Old 01-28-2007 , 09:34   Re: Sell Items
Reply With Quote #3

Selling what? Guns, health, armor?
__________________
Dark Killer is offline
striker4040
Junior Member
Join Date: Nov 2006
Old 01-28-2007 , 12:28   Re: Sell Items
Reply With Quote #4

I was thinking just Guns, and grenades and maybe armor. But I want it to be realistic so idk if selling health would be such a good idea.
striker4040 is offline
GraffityMaster
Member
Join Date: Jan 2007
Old 01-28-2007 , 16:20   Re: Sell Items
Reply With Quote #5

Donate Blood Mod
1. type /dnblood in chat

Its full of bugs cause I made it quickly (10 min)
If you find a bug or someting post here and I will fix it
Attached Files
File Type: sma Get Plugin or Get Source (dnblood.sma - 716 views - 2.1 KB)
__________________
GraffityMaster is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 01-28-2007 , 16:25   Re: Sell Items
Reply With Quote #6

@ GraffityMaster

lol what a plugin
__________________
Voi is offline
GraffityMaster
Member
Join Date: Jan 2007
Old 01-28-2007 , 16:29   Re: Sell Items
Reply With Quote #7

Quote:
Originally Posted by Voi View Post
@ GraffityMaster

lol what a plugin
good enough ?
__________________
GraffityMaster is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 01-28-2007 , 16:35   Re: Sell Items
Reply With Quote #8

i think this:
Quote:
public Showdonateblood(id) {
show_menu(id, Keysdonateblood, "Donate Blood^n^n1. 90HP for 5000$ ^n2. 70HP for 4000$ ^n3. 50HP for 3000$ ^n4. 30HP for 2000$ ^n5. 10HP for 1000$ ^n", -1, "donateblood") // Display menu
should be like that:
Quote:
public Showdonateblood(id) {
show_menu(id, Keysdonateblood, "Donate Blood^n^n1. 90HP for 5000$ ^n2. 70HP for 4000$ ^n3. 50HP for 3000$ ^n4. 20HP for 750$ ^n5. 10HP za 250$ ^n", -1, "donateblood") // Display menu
awesome idea
__________________

Last edited by Voi; 01-28-2007 at 17:47.
Voi is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 01-28-2007 , 17:57   Re: Sell Items
Reply With Quote #9

i didnt find any bugs, thus it was incompatible with Power Weapons mod(and many other plugins that use "money" and "health" variables for example halo style respawn etc.), so i changed "money" and "health" variables to "dbmoney" and "dbhealth" to be more unique

added partial language support, adding language support for menu is a bit tricky for me now

added shorter "say /db" command

changed 20HP for 750$ and 10hp for 250$

dblang.txt should go to amxmodx/data/lang

supported languages ENG & PL :]

ps. its still incompatible with one plugin im using, im thinking now what plugin, when i try to get max money (16k) i could get 13k max
Attached Files
File Type: sma Get Plugin or Get Source (dnblood.sma - 601 views - 2.2 KB)
File Type: txt dblang.txt (376 Bytes, 101 views)
__________________

Last edited by Voi; 01-28-2007 at 18:05.
Voi is offline
GraffityMaster
Member
Join Date: Jan 2007
Old 01-29-2007 , 13:12   Re: Sell Items
Reply With Quote #10

Quote:
Originally Posted by Voi View Post
i didnt find any bugs, thus it was incompatible with Power Weapons mod(and many other plugins that use "money" and "health" variables for example halo style respawn etc.), so i changed "money" and "health" variables to "dbmoney" and "dbhealth" to be more unique

added partial language support, adding language support for menu is a bit tricky for me now

added shorter "say /db" command

changed 20HP for 750$ and 10hp for 250$

dblang.txt should go to amxmodx/data/lang

supported languages ENG & PL :]

ps. its still incompatible with one plugin im using, im thinking now what plugin, when i try to get max money (16k) i could get 13k max
Thanks Voi I`m planing on releaseing it...with good codeing ... and no bugs this time ;) Here`s what I`m planing to do...so dont steal my ideea )

You can donate blood by saying /dblood
You can donate 90 80 70 60 50 40 30 20 10 HP and your blood will be added to the blood storage
Translation for : Eng, Rom, Pl, Fr

You can buy blood from the "blood storage" I`l be back soon
__________________

Last edited by GraffityMaster; 01-29-2007 at 13:16.
GraffityMaster 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 02:05.


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