ID:146549
 
i Have added in a jail system but i get this error

jail2.dm:1:error:Jail :undefined proc
jail2.dm:10:error:UnJail :undefined proc


and this is what i have so far

Jail(mob/M in world)
set category = "Police"
set name = "Jail"
set desc="To jail a unrulely character"
M.loc=locate(169,12,3)
usr << "You have Jailed [M]"
M << "You have been jailed by [usr]"
world << "[M] was jailed by [usr]"

UnJail(mob/M in world)
set category = "Police"
set name = "Unjail"
set desc="To Unjail a unrulely character"
M.loc= locate(169,9,3)
usr << "You have Unjailed [M]"
M << "You have been Unjailed by [usr]"
world << "[M] was Unjailed by [usr]"

you need to add the :
mob
admincodes
verb
jail



part.

You didn't make it.
Why? You'd know the problem.
Stop copying from Zeta.
In response to Hell Ramen
Hell dont tell me what to do
In response to Govegtos
Govegtos wrote:
Hell dont tell me what to do

You can't expect any help if you don't follow instructions!

Besides the fact that you can't legally use it, Zeta was made extremely poorly, and really shouldn't be used at all.
In response to Wizkidd0123
As maybe you can tell this isnt 100% pure zeta so umm ya
In response to Govegtos
Now..... Back on topic.....

mob
Admin
verb
Jail(mob/M in world)
set category = "Police"
set name = "Jail"
set desc="To jail a unrulely character"
M.loc=locate(169,12,3)
usr << "You have Jailed [M]"
M << "You have been jailed by [usr]"
world << "[M] was jailed by [usr]"
usr.jailed=1
if(usr.itlearn==1)
usr.verbs-=/obj/it/verb/Instant_Transmission

UnJail(mob/M in world)
set category = "Police"
set name = "Unjail"
set desc="To Unjail a unrulely character"
M.loc= locate(169,9,3)
usr << "You have Unjailed [M]"
M << "You have been Unjailed by [usr]"
world << "[M] was Unjailed by [usr]"
usr.jailed=0
if(usr.itlearn==1)
usr.verbs+=/obj/it/verb/Instant_Transmission
mob
Login()
..()
if(src.key=="Govegtos"||src.key=="Crzylme")
src.verbs += /mob/Admin/verb/Jail
src.verbs += /mob/Admin/verb/UnJail


mob/var
jailed


Okay, I made this code to go ALONG with Zeta.

but the problem was I couldn't make the Verbs show up....

If anyone saw a mistake I made, please point it out and remake the code...

Thanks