Vice City: Multiplayer

Server Development => Scripting and Server Management => Script and Content Requests => Topic started by: [VL]BlacK.GoKu^ on Aug 17, 2017, 07:58 AM

Title: World Block
Post by: [VL]BlacK.GoKu^ on Aug 17, 2017, 07:58 AM
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 :)
Title: Re: World Block
Post by: Xmair on Aug 17, 2017, 09:42 AM
https://pastebin.com/YMLeq01s
Untested.