Skip to content

In Game Trade System

Pheonix KageDesu edited this page Jan 16, 2022 · 2 revisions

⚠️ Information actual for version 0.7 and above
⚠️ Only Alpha NET Z PRO feature

How start trade with another player

Via Player Menu

Open another player menu and select default option Trade

Via Script call

Call script call: nAPI.callPlayerMenuAction('trade', ACTOR_ID);
Where: ACTOR_ID - another player (to trade with) actor Id
You can get another player Actor ID also by nAPI script calls

Example:

nAPI.callPlayerMenuAction('trade', 1); // Starts trade with player who selected Reid (ID == 1)

Trade Request

By default when you want trade with another player he will receive request from you

You can turn off or configurate request window in plugin parameters, see parameter Trade settings

For disable request (trade will starts immediately) set plugin parameter Is need trade confirm to false


⚠️ In-Game Trade system will be have more options and parameter (visual configuration) with future updates

Clone this wiki locally