"code" param

Grundy

Ultra Cool Member
Reaction score
35
if a function takes a code arguement does that mean it takes a function and ONLY a function, nothing else works? like you cant just pass it 1 line of code, you have to pass it the name of a function that has that 1 line of code?
 

SFilip

Gone but not forgotten
Reaction score
633
what function are you talking about?
 

phyrex1an

Staff Member and irregular helper
Reaction score
447
You have to pass it a function, or null.
The code type is an pointer to a function, a single line of code isn't a function ^^.

However if the single line you want to call takes no argument then you can use that function direct insteed of making a wrapper for it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top