Forum

> > Trash > Lockt, lockct, unlockall
Forums overviewTrash overviewLog in to reply

English Lockt, lockct, unlockall

1 reply
To the start Previous 1 Next To the start

closed moved Lockt, lockct, unlockall

Logged
User Off Offline

Quote
Hello, I'm searching these three COMMANDS. Please help me.

I found this script, but anybody who types @lockt, @lockct or @unlockall can use it:

Quote
lockt = false
lockct = false

if(t=="@lockt") then lockt = true
elseif(t=="@lockct") then lockct = true
elseif(t=="@unlockall") then
lockt = false
lockct = false
else return 0 end
return 1
end

addhook("team","change")
function change(id, team)
if team == 1 then
if lockt == true then
msg2(id,"©255000000This team is locked!")
return 1
end
elseif team == 2 then
if lockct == true then
msg2(id,"©255000000This team is locked!")
return 1
end
end
end



Please help me. I prefer COMMANDS.
To the start Previous 1 Next To the start
Log in to replyTrash overviewForums overview