Rystbo
-Hotel Owner, -Customs Developer, -Arcturus
- Apr 16, 2018
- 390
- 200
It's not called Items.cs, it's called Item.cs
I ment item.cs
You must be registered for see links
It's not called Items.cs, it's called Item.cs
It's not called Items.cs, it's called Item.cs
Are you using the InteractorSlots provided?Ya, item.cs i made a typo. lol but now when i add it for some reason its not recognizing it. the part that says interactorslots wont highlight in blue like the others. If i just add it and debug it doesn't work
You must be registered for see links
Rename it to SendMessage?Any way to make this make the user talk, rather than whisper to self? @Hypothesis
Nope only sends a chat to the user, not to the room..Rename it to SendMessage?
Not sure why you'd want this anyway, would be spam central.Nope only sends a chat to the user, not to the room..
Dunno, users just said it would be cool lmaoNot sure why you'd want this anyway, would be spam central.
Yeah, you could add this lineDunno, users just said it would be cool lmao
RoomUser User = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
Room.SendMessage(new ChatComposer(User.VirtualId, "*SLOT MACHINE: " + SlotCard1 + " " + SlotCard2 + " " + SlotCard3 + " You have won: " + CreditsWon + " credits!*", 0, 1));
Ive done this but it causes this errorYeah, you could add this line
Then use something like this instead of your whisper alert.Code:RoomUser User = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
As said before, this is likely to cause spam central, but you could possibly add a longer cooldown to slots, also keep in mind, this is for R1 of Plus Emulator, so you may need to use SendPacket, instead of SendMessage, if you're using R2.Code:Room.SendMessage(new ChatComposer(User.VirtualId, "*SLOT MACHINE: " + SlotCard1 + " " + SlotCard2 + " " + SlotCard3 + " You have won: " + CreditsWon + " credits!*", 0, 1));
Thanks for using this addon!
Change it to SendMessage instead of SendPacket.Ive done this but it causes this error
You must be registered for see images attach
naw everything uses sendpacket, and i get an error with sendmessageChange it to SendMessage instead of SendPacket.
Hmm, can I TeamViewer you, I may know the issue.naw everything uses sendpacket, and i get an error with sendmessage
This. But It wouldn't take too long to change it!Good release, I remember having this on our old hotel. Wasn't a big fan of how it shows you won and etc, never understood it. But besides that, props