Notes |
|
|
If you call the function from within a clientside script, the scope of the function should also be clientside. Is there a specific use case where this isn't possible or doesn't work? Example wad? |
|
|
(0024375)
|
IlyStr
|
2025-03-31 19:17
|
|
Ru5tK1ng I think that he wanted to make certain functions can be called by the server and executed in client's side and return a value to the server, but then it's necessary to implement something like interfaces from C# where the first argument is the client. |
|
|
(0024376)
|
IlyStr
|
2025-03-31 19:22
|
|
Actually makes sense, maybe it will be more optimized than a chain of scripts that pass values to each other, but also it's necessary to add a timeout argument in ticks or milliseconds |
|
|
|
I'd like to be able to call functions from the server and execute them on the client, for situations like HUDMessages. A script version of the function above wouldn't work because ACS scripts do not allow strings as arguments. |
|
|
|
|