#[LB-PHONE] Messaging NPCs

1 messages · Page 1 of 1 (latest)

terse widget
#

You can do this already with the lb-phone:messages:messageSent server event

shrewd horizon
#

It would be much better with exports

terse widget
#

In what way would an export be better? Monitor the event for the NPC number, check the content of the message then use the sendmessage export to respond to the player from the NPC

shrewd horizon
# terse widget In what way would an export be better? Monitor the event for the NPC number, che...

Okey but i want to maybe use it for ordering stuff by texting the NPC?

For example the npc sends me a list and prices if i send the message orderlist for example.

Then i want to be able to order for example if it sells lock pick and i want to order 2 for example by sending the message ”lock pick 2” then i want it to send me an location where it has spawned an box that i can use ox_target and pay the cost of the lock picks that i order then i Will get it etc, would that be possible to do?