Squirrel/Client/Functions/Scripts/CallServerFunc
From Liberty Unleashed Wiki
This function will call a server function from a clientside script.
Syntax
CallServerFunc( string Path, string Function, player Localplayer, int params )
Arguments
- Path - The path to the folder including foldername and filename ( + extension )
- Function - The name of the function you want to call.
- localplayer - The player you want to call the function for, see FindLocalPlayer
- params - The additional function params which can vary from vectors and floats to integers and strings.