SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 01/10/2012, 03:50 PM   #1
Mr.Mafia
Little Clucker
 
Join Date: Oct 2007
Posts: 23
Reputation: 0
Default Real Market System, Player based

Greetings all,

This is a hamble request. Specially to my senior respected Scripter friends.

I would like to answer few questions first:

1. Why dont you script it yourself?
A. Im not a good scripter, I tried. Not Once, Several times. I did not accomplish this gaol.

2. Why should we help you?
A. Its your choice to help me or not, But only reason i see so far is, im requesting you to help me.

3. What will we get from this?
A. =/ I wish i could offer you what you demand in return of helping me with this.

Please dont mention these questions below, since i already answered them. These questions are the most commonly seen on the samp forums. "Do it yourself". I did and gave my best shot, Didnt work for me. Maybe im not that blessed to achieve my goals way to easily without anyone assistance.

-------------------------------------------------------------------------------------------------------

Description: This thing will be added in a game mode. I would say. RP server's game mode. I want it to be based on like not random market created by scripted which players can easily buy guns and also sell them on it.

Like, All dialog system. or not, For Example.

Player type this command /market and he sees this in text

1. Seller John_Cena | Item: Deagle | Ammo: 200 | Price: 5000
2. Seller The_Rock | Item: Deagle | Ammo: 100 | Price: 2500
3. Seller Randy_Orton | Item: M4 | Ammo: 42 | Price: 6000
4. Seller None | Item: N/A | Ammo: 0 | Price: 0
5. Seller None | Item: N/A | Ammo: 0 | Price: 0
6. Seller None | Item: N/A | Ammo: 0 | Price: 0
7. Seller None | Item: N/A | Ammo: 0 | Price: 0
8. Seller None | Item: N/A | Ammo: 0 | Price: 0
9. Seller None | Item: N/A | Ammo: 0 | Price: 0
10. Seller None | Item: N/A | Ammo: 0 | Price: 0

Well, Then player decide to buy the cheapest weapon in the list, so he types /mbuy 2 or Press Enter on the Dialog. So it becomes like this

1. Seller John_Cena | Item: Deagle | Ammo: 200 | Price: 5000
2. Seller None | Item: N/A | Ammo: 0 | Price: 0
3. Seller Randy_Orton | Item: M4 | Ammo: 42 | Price: 6000
4. Seller None | Item: N/A | Ammo: 0 | Price: 0
5. Seller None | Item: N/A | Ammo: 0 | Price: 0
6. Seller None | Item: N/A | Ammo: 0 | Price: 0
7. Seller None | Item: N/A | Ammo: 0 | Price: 0
8. Seller None | Item: N/A | Ammo: 0 | Price: 0
9. Seller None | Item: N/A | Ammo: 0 | Price: 0
10. Seller None | Item: N/A | Ammo: 0 | Price: 0
---------------------------------------------------------------------------------------------------

Now the selling thing, When player got a weapon in his hand. He can just type like /msell. Dialog shows up. asking for Price.

Like player got AK-47 with 215 Ammo, He types in like /msell [slot] [price] or through the dialog system.

/msell 7 7000

1. Seller John_Cena | Item: Deagle | Ammo: 200 | Price: 5000
2. Seller None | Item: N/A | Ammo: 0 | Price: 0
3. Seller Randy_Orton | Item: M4 | Ammo: 42 | Price: 6000
4. Seller None | Item: N/A | Ammo: 0 | Price: 0
5. Seller None | Item: N/A | Ammo: 0 | Price: 0
6. Seller None | Item: N/A | Ammo: 0 | Price: 0
2. Seller THAT_PLAYER | Item: AK-47 | Ammo: 215 | Price: 7000
8. Seller None | Item: N/A | Ammo: 0 | Price: 0
9. Seller None | Item: N/A | Ammo: 0 | Price: 0
10. Seller None | Item: N/A | Ammo: 0 | Price: 0

and then it shows like this when other players check the market. Simple =)

and it stays even after server restart. So its prolly gonna save somewhere in scriptfiles.
----------------------------------------------------------------------------------------

Im Expecting alot from SAMP community. Please help me as much as you can build this system.
Mr.Mafia is offline   Reply With Quote
Old 01/10/2012, 06:10 PM   #2
Mr.Mafia
Little Clucker
 
Join Date: Oct 2007
Posts: 23
Reputation: 0
Default Re: Real Market System, Player based

Can no one really want to help me make this? o.O
__________________
- New World Roleplay -
IP: 176.9.40.71:9364
Forums: http://nwrp.freeforums.org/
Team Speak: 174.54.188.234
Mr.Mafia is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] SimpleDynamic MP3 Player - MySQL Based (0.3D) Rudyy Filterscripts 19 14/04/2012 08:28 AM
[FilterScript] Market System yourcrys Filterscripts 5 20/07/2011 09:19 PM
Change Player Skin Also Based On A Rank robert4049 Help Archive 5 20/07/2010 01:05 AM
[Include] [INC]BFX Ini System - Cache Based BlackFoX Includes 3 01/05/2010 05:01 PM


All times are GMT. The time now is 06:19 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.