13.05.2010, 00:02
How do i make it so in a certain virtual world people cant use any command?
if(GetPlayerVirtualWorld(playerid) ==id; |
new world = GetPlayerVirtualWorld(playerid);
if(world == modify_this_to_the_world_number_that_you_want)
{
// do something
}
if(strcmp("/yourcommand", cmdtext, true) == 0)
{
if(GetPlayerVirtualWorld(playerid) == virtual_world_id)
{
//do something
}
return 1;
}