View Full Version : how to get the string on BTC
akoolrolla23
9th November 2010, 04:29
Hello guys again.
i'm trying to find out how to get the string on the BTC?
for example i have written in the BTC string "My Name" so in my screen showed on it but the problem is I want them to click and retrieve from what i put on the string and show it to the message to mso.
I tried the coding in .ToString() but it doesn't work :shrug:
misiek08
9th November 2010, 15:33
BTT packet.
akoolrolla23
9th November 2010, 15:46
not BTT packet
all i want to know how to get the string line on the showed button
so when I click it will show on the MSO it on the message :shrug:
uploaded image below
Dygear
9th November 2010, 16:15
If you sent that button, you should have that information. InSim is not responsible for saving information that you want tracked, you are. As for what he said BTT is correct, it should have the ClickId of the button that produced the request so you should have that information in a hash table.
akoolrolla23
9th November 2010, 16:34
tbh, it will span 1 - 12 buttons on the connections so i really mean when i pressed the ClickID on the BTN showed on my screen is how to get the string written on the BTN so when I foreach the string line the insim will identify itself :shrug: I tried every ToString() code in BTC to get the answer and get the playername on BTN
probably its hard to understand but never mind I'll just delete the code for it
PoVo
9th November 2010, 17:25
He wants to display the text that is on the button.
Like in the example it says "Ryo", he wants to parse it somehow :thumb:
filur
9th November 2010, 17:28
before sending the button
{
save the button text in a list using the clickid as a key
}
when a btc packet is received
{
using the clickid, find the text in the list you saved it in earlier
}
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.