World Block

Started by [VL]BlacK.GoKu^, Aug 17, 2017, 07:58 AM

Previous topic - Next topic

[VL]BlacK.GoKu^

This is a Example of code But i need a Full Code for this i am Making Worlds and i Need a Cmd for Lock worlds /myhome is in world 2 and i want to lock this world i dont want any player to visit my world. And another cmd for Unlocking it
else if (cmd == "visitworld2")
{
if lock.world2 MessagePlayer("you cant visit world 2 because its locked");
else{
player.World = 2;
}
}

else if (cmd == "lockworld2")
{
lock.world2
}

else if (cmd == "unlockworld2")
{
unlock.world2
}

Please help me Thanks in Advance :)

Xmair

#1

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD