0 Members and 3 Guests are viewing this topic.
It appears that <player>:IsConnected() is only available serverside, so the code will have to be changed to adapt to that. :S
How to fix this?
I could look at how ULX handles their string time parser.
ban:addParam{ type=ULib.cmds.NumArg, hint="minutes, 0 for perma", ULib.cmds.optional, ULib.cmds.allowTimeString, min=0 }
tempadduser:addParam{ type=ULib.cmds.NumArg, hint="Time (Minutes)" }
tempadduser:addParam{ type=ULib.cmds.NumArg, hint="Time (Minutes)", ULib.cmds.allowTimeString }