The online racing simulator
Help with IDs
Hello, i have one question. How i make the players list on buttons? I use LFS_External.
I already do the Conn variable but dont works if i put Conn.1 Conn.2 on the buttons.
What I basically do is grab a round number, 100 for example and start indenting w/ Unique IDs.

Example;

Player 1 (Unique ID, 1) = Click ID, 101.
Player 2 (Unique ID, 2) = Click ID, 102.
Player 3 (Unique ID, 3) = Click ID, 103.

100 is probably way to high, but it all depends on how many buttons you use for your application.
Quote from yoran765 :What I basically do is grab a round number, 100 for example and start indenting w/ Unique IDs.

Example;

Player 1 (Unique ID, 1) = Click ID, 101.
Player 2 (Unique ID, 2) = Click ID, 102.
Player 3 (Unique ID, 3) = Click ID, 103.

100 is probably way to high, but it all depends on how many buttons you use for your application.

Like InSim.Send_BTN_CreateButton(Connections[GetConIdx(UniqueID, 3)].PlayerName, ISB_DARK, 5, 20, 5, 75, 100, Connections[GetConIdx(UniqueID, 2)])

To show the name of player 3 for player 2 ?
You've probably cracked the game, just noticed.

Just to push you into the right direction, no; that is not how you do it.

¯\_(ツ)_/¯
Why you think that? Demo users cant make InSims?

FGED GREDG RDFGDR GSFDG