![]() |
Market
would it be possible to make a market type thing for a free server?
|
I don't know, would it? :confused: :confused:
|
Yes it would be. Just use triggeraction...
|
[screen_name says:]
what kind of market, the kind on g2k1 where you can rent the lots ?? |
Yay it's possible (no triggeractions!!!)
just visit Londeroth I made a G2K1 like market script for it u can rent stands (for a time of 45 mins) put your items on special positions (like NM's) and sell them after time is over u can even get it from the baskets (No I don't use putnpc) |
Quote:
|
Quote:
Time system would be easy, just set a timevar, then whenever they open one you record the current value of the timevar...the you just have it subtract the new by the old, if its => then the value you want it closes. |
I see
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Boats
Can ya give me G2k1 market place or the non-p2p market place thingy lol
|
Hmm,
I think it would be but woundn't it be a lot more lagery then it is now? -NIght Fox |
Quote:
|
Lol,
Yes it is :). -Night fox |
How would a player place an item then? putnpc?
|
Something like:
if (playerchats&&strequals(#c,lay down <weaponname>)) { this.x = {0.5,-0.5,0.5,2.5}; this.y = {-1,1,3,1}; putnpc weaponimage,weaponcode,this.x[playerdir],this.y[playerdir]; destroy; } That is just for laying weapons so it would need more code, but it's a good start. |
Quote:
this.y = {-1,1,3,1}; what is that |
Quote:
|
It would be fairly simple, but if you wanted to do a lot of very advanced stuff, it could become a "var hogger".
|
Quote:
setting arrays so that it will put the npc at a certain spot depending on which way you are facing |
I MUST LEARN :)
|
Quote:
NPC Code: this would only put a weapon at those cordinates, you would have to do, playerx+this.x[playerdir] and player.y+this.y[playerdir] also, if you face left |
Markets
O kool! lol
|
Re: Markets
Quote:
|
All times are GMT +2. The time now is 11:31 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.