netId – Talk

From Bohemia Interactive Community
Revision as of 21:56, 23 October 2015 by Shukari (talk | contribs) (Question)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Is it better to use only the netId as parameter or the object instead for functions... is it faster, smaller or something?

Example:
[netID player] remoteExecCall ["server_function",2]; (only a string but need additional objectFromNetId in "server_function")
or
[player] remoteExecCall ["server_function",2];
--Will (talk) 21:56, 23 October 2015 (CEST)