ESX | How Can i send question to another player? If he enter "Yes" Script go forward

Hi!

I have a trouble, I want to create exchange script for players but I need to figure out how I can send simple question to another player. It’s like servercallback but… “clientcallback”…
The script is simple:
if player type “Yes”
script go forward
elseif player type “No”
script ends
else
error

Thanks for Help!

I guess you could make a cb from your database. The callback should be identified by target, so if the person has triggered a serverevent to insert yes on thier own identifier the callback is going though. And when the cb is going though the rest of the codes is too! Only thing i could come up with, i don’t think a variable would make the work.

And after the codes are sent, you trigger a other serverevent which sets to taget identifer column to no