![]() |
Trading
Anyone have any idea how to make a trading item? I wanna make a item sorta like the hat thing on 2001 that shows the items over the head and allows them to choose what NPC to drop. Does anyone know how hard and if its possible for free servers?
|
since i am not an advanced scripter i would just do with what i learn use strings like
client.item1=3 so you can use like showimg for item 1 and use putnpc for the items like item1.txt if (timeout) { if (weaponfired) { if (this.mode==lay) { setstring client.item1,#v(client.item1(-1)); putnpc item1.txt,playerx,playery+1; } } } sort of like that i don't know just comprimise for the info you know |
Re: Trading
Quote:
A fruit trade, and weapon trader, they both were quite easy to do. |
Putnpc = BAD
Putnpc2 = Good :D |
Quote:
|
what is...
I was tring to amke one of the item traders for trading drugs and food, but I couldnt do it, what is putnpc2 any ways it isnt in the script bank?
|
i just made like that for Bravo and UN (p2p and free) versions.. I had the free version using putnpc but the destroy command sometimes may lag so 2 ppl could pick up the item dropped. so I switched to a triggeraction where u can only drop if some1 is infront of you.
|
i got ...
i got some trading item thingy from a friend if you want it i will post it ....
|
Go ahead Nyght
|
[ Delph Inc. ]
I have attempted at making one for free servers, but I'm just really hopeless at arrays. The rest is fine, all I need is something that can add the item to an array and keep it there whilst the image in the weapons gets destroyed (if It's possible). Also how to only show 3 images at one time and make them scroll through so if you press left you would see something like this: BEFORE: +=@ AFTER: =@% so all the images moved to the left. As always I'm quite hopeless at explaining things but if you understand that would be good :) |
| All times are GMT +2. The time now is 05:23 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.