#Below you see a list with the available functions in LFSLapper.
#For example codes : you have to visit the LFSLapper section on lfsforum.net

#IF there isnt a examplecode for the function you want to use. Please request this in the Tutorial section.

#############################################
#[b]Buttons[/b]
#############################################

[list] 
	[*]textprivbutton( "ButtonID","TEXT OF BUTTON" );
	[*]textprivbuttonall();
	[*]openprivtextbutton();
	[*]opentextbutton();
	[*]openglobalbutton();
	[*]closeglobalbutton();
	[*]openprivbutton();
	[*]closeprivbutton();
	[*]openbutton();
	[*]closebutton();
[/list]

#############################################
#[b]Set/Get Playervars[/b]
#############################################

[list] 
	[*]getplayerinfo();
	[*]setplayervar();
	[*]getplayervar();
	[*]setcurrentplayervar();
	[*]getcurrentplayervar();
[/list]

#############################################
#[b]Get/Set database stored values[/b]
#############################################

[list]
	[*]setuserstoredvalue();
	[*]setuserstorednum();
	[*]getuserstoredvalue();
	[*]getuserstorednum();
	[*]setstoredvalue();
	[*]getstoredvalue();
	[*]getstorednum();
	[*]deletestoredvalue();
	[*]deleteuserstoredvalue();
[/list]

#############################################
#[b]Sending messages[/b]
#############################################

[list]
	[*]privmsg();
	[*]globalmsg();
	[*]#Race messages
	[*]privrcm();
	[*]globalrcm();
[/list]

#############################################
#[b]Delayed commands[/b]
#############################################

[list]
	[*]removeplayerdelayedcommand();
	[*]playerdelayedcommand();
	[*]removeprivdelayedcommand();
	[*]privdelayedcommand();
	[*]removehostdelayedcommand();
	[*]hostdelayedcommand();
	[*]removedelayedcommand();
	[*]delayedcommand();
[/list]

#############################################
#[b]Set/Remove Zone/Nodes[/b]
#[b]Sub will be executed when a player drives throught the Node/Zone you have set[/b]
#############################################

[list] 
	[*]registernodeaction();
	[*]removenodeaction();
	[*]registerzoneaction();
	[*]removezoneaction();
[/list]

#############################################
#[b]Set/Remove Playerdetecor[/b]
#[b]Sub will be executed when a player drives infront of the detector(Player)[/b]
#############################################

[list] 
	[*]RegisterPlayerDetection();
	[*]RemovePlayerDetection();
[/list]

#############################################
#[b]Timed actions[/b]
#[b]Sub will be executed after a amount of time that you have set[/b]
#############################################

[list]
	[*]registerscheduleaction();
	[*]removescheduleaction();
[/list]

#############################################
#[b]Converting[/b]
#############################################

[list]
	[*]numtomsh();
	[*]numtoms();
	[*]mshtonum();
	[*]tokph();
	[*]tomph();
	[*]toupper();
	[*]tolower();
	[*]sqrt();
[/list]
#############################################
#[b]Remove records from Database[/b]
#############################################

[list]
	[*]deletedriftrecords();
	[*]deletelaptimerecords();
[/list]

#############################################
#[b]String Functions[/b]
#############################################

[list]
	[*]Insert();
	[*]Contains();
	[*]Replace();
	[*]substr();
	[*]Remove();
	[*]trim();
	[*]indexof();
	[*]splittoarray();
	[*]split();
	[*]strformat();
	[*]strlen();
[/list]
#############################################
#[b]TextFile/Directory Functions[/b]
#############################################
[list]
	[*]CreateFile();
	[*]EditFile();
	[*]ReadFile();
	[*]DeleteFile();
	[*]FileExist();
        [*]GetListofFiles();
        [*]CreateDirectory();
	[*]DeleteDirectory();
	[*]DirectoryExist();
[/list]

#############################################
#[b]Math Functions[/b]
#############################################
[list]
	[*]mod();
	[*]isnum(); #check if value is a number
	[*]sqrt();
	[*]round(); #Round Numbers
	[*]tan();
	[*]cos();
	[*]sin();
[/list]
#############################################
#[b]Object Functions[/b]
#############################################
[list]
	[*]addobject();
	[*]removeobject();
	[*]GetLytSelection(); # Request info about objects selected in layout editor - response is seen in OnObjectInfo event with $Action 5
	[*]SetLytSelection(); #Set objects to clipboard or set them as selected objects.
[/list]
#############################################
#[b]NOT PLACED IN A GROUP YET[/b]
#############################################
[list] 
[*]currentplayerlfsworldpb();
[*]currentplayerlfsworldpbfrom();

[*]#TopTables 
[*]getlisttopdrift();
[*]getlisttopuser();
[*]GetListTop();
[*]
[*]cleanspb();
[*]showspb();
[*]
[*]dstatsqual();
[*]dstats();

[*]#PlayerSettings
[*]myconfig();

[*]http();
[*]sort();
[*]moveusertogroup();
[*]getlistofusersgroup();
[*]usergroupfromfile();
[*]usergrouptofile();
[*]removeuserfromgroup();
[*]cleargroup();
[*]userisadmin();
[*]userisserveradmin();
[*]useringroup();
[*]getusergrippb();
[*]getuserdriftpb();

[*]showhand();
[*]lapperversion();
[*]stats();
[*]toplayerunit();
[*]langtranslate();
[*]langengine();
[*]forcerotation();
[*]termlapper();
[*]groupcmdlfs();
[*]cmdlfs();
[*]setlicense();
[*]setracegrid();
[*]requestreo();
[*]getlistofplayers();
[*]getlappervar();
[*]getconfigvar();
[*]setconfigvar();
[*]getlongtrackname();
[*]getlengthtrack();
[*]getgrouptrack();
[*]getexttrack();
[*]reload();
[*]crash();
[*]getlistoflang();
[*]getlistofplayerbuttons();
[*]striplfscolor();
[*]getwr();
[*]startlightcontrol(); #Control light of all autoX startlights or TrackStartlights
[*]joinrequest(); #(re)Spawn players
[*]allowedplayercars(); 
[*]tostring(); #Convert Var to a string
[*]tonum(); #Convert Var to a number
[*]not();
[*]unset();
[*]return();
[*]write(); #write line to console, Allowed with LFSColors ^0 - ^8
[*]writeline(); #write newline to console, Allowed with LFSColors ^0 - ^8
[*]dumpvar();
[*]arraycount();
[*]inarray();
[*]randomnum();
[*]isregexmatch();
[*]trackuserdistance();
[*]RegisterStreetAction();
[*]GetAngle();
[*]sendmessagetodiscord();
[/list]