-
Notifications
You must be signed in to change notification settings - Fork 3
In Game Trade System
Pheonix KageDesu edited this page Jan 16, 2022
·
2 revisions
Alpha NET Z PRO
feature
Open another player menu and select default option Trade
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)
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