The online racing simulator
How to create online/offline status button in lapper.
Hello,

As first, you could try to get the users data. You cannot get any info, if the user is offline.
In Lapper there is a function named: GetPlayerInfo();

In the Tutorial section, i have been working on some examplecodes for several functions.
Check the link below about some codes for:


#getplayerinfo(); : Get playerinfo:
#SetPlayerVar(); : Set PlayerVars:
#GetPlayerVar(); : Get PlayerVars:
#setcurrentplayervar(); : Set PlayerVar
#getcurrentplayervar(); : Get PlayerVar

https://www.lfs.net/forum/post/1921131#post1921131

also, checkout the Adminnotify script of Yisc[NL]

https://www.lfs.net/forum/post/1909625#post1909625
The first screenshot shows a GUI for when a player is connected to the server, when he isn't, he will not see the GUI so why would you want an offline status?
Unless someone is connected and would be able to set his/her status to Offline (while not really being offline).
I talked to him, and his explaination: he want to display the online/offline status the serveradmin in his server.
Exacly what i thought.

But indeed, his first post could have more details.
Yeah , why didnt i thought about that. Frown
edited my first post.

FGED GREDG RDFGDR GSFDG