Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --pa banid bob 1d reason
- --should come out as
- --pa banid [player] [time length] (string reason)
- -- different types of vars accepted (please script for all of them):
- -- OPTIONALSTR - (string nameofvariable)
- -- STR - [string nameofvariable]
- -- OPTIONALNUM - (number nameofvariable)
- -- NUM - [number nameofvariable]
- -- OPTIONALPLY - (player)
- -- OPTIONALPLYS - (player(s))
- -- PLY - [player]
- -- PLYS - [player(s)]
- -- MAP - [map nameofvariable]
- -- TIME - [time nameofvariable]
- -- OPTIONALTIME - (time nameofvariable)
- -- please make it easy for me to adapt into pointadmin, like:
- pointadmin.commands = {
- kick = {
- format = "PLY;OPTIONALSTR;", -- yes this is actually how i do it...
- Call = function() end
- },
- god = {
- format = "OPTIONALPLYS;",
- Call = function() end
- },
- clear = {
- format = ";",
- Call = function() end
- },
- }
- function pointadmin.AutoComplete(arguments)
- stuff gets done in here!!!!
- return { -- return shit like this, please
- "pa ban bob [time length] (str reason)",
- "pa ban joe [time length] (str reason)"
- }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement