Can some1 help me about virtualworld? pls
#1

I have virtual world script like this
but when i go on . Example " /world5 "
other player can goto me.. i need script who cant other player goto me when i am in /world1-5


if (strcmp(cmdtext, "/world3", true) == 0)
{
SetPlayerVirtualWorld(playerid, 3);
return 1;
}


(thanks, soz 4 bad english)
Reply
#2

Hmm... there is no command for /world1, /world2, /world4, and /world5?
Reply
#3

yes but this is examlple
if (strcmp(cmdtext, "/world1", true) == 0)
{
SetPlayerVirtualWorld(playerid, 1);
return 1;
}
if (strcmp(cmdtext, "/world2", true) == 0)
{
SetPlayerVirtualWorld(playerid, 2);
return 1;
}
if (strcmp(cmdtext, "/world5", true) == 0)
{
SetPlayerVirtualWorld(playerid, 5);
return 1;
}

here is and 5 world but when u go example in 5
other players can goto me..
i dont like player goto me or other when is in 5 world
only on /world0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)