How do i make it so in a certain virtual world people cant use any command?
#1

How do i make it so in a certain virtual world people cant use any command?
Reply
#2

Quote:

if(GetPlayerVirtualWorld(playerid) ==id;

maybe? not sure.
Reply
#3

pawn Код:
new world = GetPlayerVirtualWorld(playerid);
if(world == modify_this_to_the_world_number_that_you_want)
{
// do something
}
Reply
#4

Give something like this a try?

pawn Код:
if(strcmp("/yourcommand", cmdtext, true) == 0)
    {
          if(GetPlayerVirtualWorld(playerid) == virtual_world_id)
          {
                //do something
          }
          return 1;
    }
Reply
#5

Thanks guys, You helped me bigtime!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)