10.06.2010, 02:18
Hey... I need help. I'm building a roleplay server, and there is a post office. There is a pickup(briefcase). When you walk into it, I need it to show a dialog that asks for the ID you are going to send the message to, then after that one is closed it will ask for the Message you are going to send. Then, I need it to send a message to the other player, like a basic /pm command would. I don't have much ANY code whatsoever, because what I tried didn't work. The only code I can give out is the OnPlayerPickupPickup code.
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == postoffice) { //attempt to show dialogs here... } return 1; }