You'll need the use of the "WireLib.CreateSpecialOutputs" or "WireLib.CreateSpecialInputs "command.
Example:
but the way "ENT:TriggerInput" works doesn't changeCode:self.Outputs = WireLib.CreateSpecialOutputs(self.Entity,{"A"},{"STRING"})
How would i make it possible for my entity to have string inputs and outputs, ive already gotten regular wire ones but now there is the need to have strings for a few more ;]
thanks =]
You'll need the use of the "WireLib.CreateSpecialOutputs" or "WireLib.CreateSpecialInputs "command.
Example:
but the way "ENT:TriggerInput" works doesn't changeCode:self.Outputs = WireLib.CreateSpecialOutputs(self.Entity,{"A"},{"STRING"})
Needz moar Lua
Thats what i have and it makes it so there are no inputs..Code:self.Inputs = Wire_CreateSpecialInputs(self.Entity,{"useable","Price","[STRING] Item1","[STRING] Item2"},{"NORMAL","NORMAL","STRING","STRING"})
Bookmarks