[HELP] HELP WITH VIRTUALWORLD
#1

Hello, I'm trying to do a "Virtual World " to a Burger Shot in "SF" because it already has a Burger Shot in "LS" a help wanted how to make a Virtual World to the burger shot of LS is not mixed (conflicting ) With the Burger Shot in SF since they have the same interior!

Here's an example of how I'm doing:

ENTRY AND EXIT:

else if (PlayerToPointStripped (2.0, playerid, -2355.8181,1008.1110,50.8984, cx, cy, cz))
{
/ / Input Bugrgueshot
SetPlayerPos (playerid, 363.3360, -74.5500,1001.5078 );
GameTextForPlayer (playerid, "~ p ~ Welcome to Burger Shot ~ r ~", 5000.3);
SetPlayerInterior (playerid, 16);
PlayerInfo [playerid] [pint] = 16;
}
else if (PlayerToPointStripped (2.0, playerid, 363.3360, -74.5500,1001.5078, cx, cy, cz))
{
/ / Output burguershot
if (GetPlayerVirtualWorld (playerid) == 0)
{
SetPlayerPos (playerid, -2355.8181,1008.1110,50.8984);
GameTextForPlayer (playerid, "~ r ~ San Fierro ", 5000.3);
SetPlayerInterior (playerid, 0);
PlayerInfo [playerid] [pint] = 0;
}

Okay so?

I hope a help! Thanks!
Reply
#2

Reply
#3

setplayervirtualworld different numbers for them

in exit check which virtualworld they got

for example if SF one has virtualworld 2 set the pos to SF burger shot door

and if LS one has virtualworld 1 set the pos to LS burger shot door
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)