Virtual World [Mapping Related]
#1

Well I'm actually having a problem in interiors. There are 2 businesses using the SAME interior but different virtual world, in the both of businesses, the same objects that's in interior1 shows in interior2, is there a way to fix that? like changing objects VW?

Thanks in advance.
Reply
#2

Use a streamer to set the object's VW.
Reply
#3

Код:
CMD:setvw(playerid, params[])
{
	new playerb, vw, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");

	if(sscanf(params, "ui", playerb, vw)) return SendClientMessage(playerid, COLOR_WHITE, "[Usage]: /setvw [playerid] [VW]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	SetPlayerVirtualWorld(playerb, vw);
	format(string, sizeof(string), " You have set %s's VW %d.", RPN(playerb), vw);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), " %s has set your VW %d.", RPN(playerid), vw);
	SendClientMessage(playerb, COLOR_WHITE, string);
	return 1;
}
Add this in your gamemode, go in to your biz and change your vw , then edit the cordinates of biz interior in that vw.
Reply
#4

------
Reply
#5

Did you read what I said? That's the solution.
Reply
#6

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Did you read what I said? That's the solution.
Oooh, didn't read it, my apologies, I'll try that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)