need help with two things

Status
Not open for further replies.

RilleRetroS

Member
Apr 14, 2016
48
13
Hey!
I have two questions, I want to add hotelalert (but in whisper)

and i want to add so people can see when someone cancel trades

*Username cancel the trade*

I have tried to fix this but it has not gone so well :p

(I use plusemu if it is necessary to know hehe)
 

JayC

Always Learning
Aug 8, 2013
5,493
1,398
First one is simple. Remove the composer (comment it out) that sends the alert in your command, and then add a loop should be something similar to

Foreach(GameClient client in PlusEnvironment.GetGame().GetClientManager().GetClients().ToList())

Then client.SendWhisper(message)


For the other problem you need to find the packet that closes the users trade I'm not sure what it is, then call to the shout composer packet and send out a new chat
 
Status
Not open for further replies.

Users who are viewing this thread

Top