Please make a script for trading between players.
3 replies



17.11.20 03:58:41 pm
Hello scripters, I need your help, help me make a script. It is necessary that if you write: !trade <id> <item> <price>.
And this would happen close to the one with whom to trade. (1-5 tiles) Then the second player gets a message that the first player wants to trade. And you can !yes or !no.
Some items: Bread = {}, Antirad = {}, Vodka = {}.
(Vodka[id]=Vodka[id]+1)
I need an example of how to do this, then I'll add all the other items myself.
Write here or to me in private messages. Thanks a lot to everyone who will help.
And this would happen close to the one with whom to trade. (1-5 tiles) Then the second player gets a message that the first player wants to trade. And you can !yes or !no.
Some items: Bread = {}, Antirad = {}, Vodka = {}.
(Vodka[id]=Vodka[id]+1)
I need an example of how to do this, then I'll add all the other items myself.
Write here or to me in private messages. Thanks a lot to everyone who will help.

S.T.A.L.K.E.R. RP - https://discord.gg/wQUEKSB
Code:
1
!trade <id> <item> <price>
If the message appears to everyone inside a 5 tile radius then what is the purpose of the id-parameter?
Share time limited free games here

@
Bowlinghead: To prevent trading across the entire map. For one player within a radius of 5 tiles.

S.T.A.L.K.E.R. RP - https://discord.gg/wQUEKSB
@
_Lima_: Why are you still waiting? Nobody's gonna write you 400 lines of code, I'm even pretty sure someone wrote you more than half of it earlier and you could get the main idea from it and modify it, but you seem not to be able to. So even expect if someone else wrote you, you still don't seem to be able to do that. Instead of begging people to write to you, you could watch some tutorials and make it yourself. You can ask us as well for some help but not to write you tons of codes.




