Enable/Disable


#1

function OnPlayerChat(player,text)
if text == “enable” then
EnableJP()
end
if text == “disable” then
DisableJP()
end
end


#2

Uuuu a Penny!
You know what they say…
A penny a day -uh?- keeps the… Luck!


#3

Simplified Verison

function OnPlayerChat(player,text)
if text == "enable" then
EnableJP()
elseif text == "disable" then
DisableJP()
end
end