interior bug
#1

hey guys....

i have a small problem with my interiors in my CnR server
i have created a bank in ls and sf and when i exit in sf because there is 2 checkpoints for exit stuck in each other because same interior
when someone enter ls bank, when he exits he exits in sf bank, but if he jumped in the middle of the checkpoint in ls bank he exits to ls

how could i make in ls and sf same interior looking but not stuck to each other
when someone enter ls bank he be in ls bank
when someone enter sf bank he in in sf bank

he exits from the same bank he enter
and players see each other in the same bank city that they entered
if someone entered ls bank they see only ppl in the ls bank
etc...
Reply
#2

When you enter LS bank you put this
Код:
SetPlayerVirtualWorld(playerid ,10);
and on Exit
Код:
SetPlayerVirtualWorld(playerid ,0);
When you enter SF bank you put this
Код:
SetPlayerVirtualWorld(playerid ,11);
and on Exit
Код:
SetPlayerVirtualWorld(playerid ,0);
and you could use this to remove pickups from interiros
Код:
DisableInteriorEnterExits();
Reply
#3

In general ======> Remake the exits and set a different virtual worlds.
Reply
#4

stell bugged
see what i did right or no?

http://grabimagehost.hourb.com/?v=111.png
Reply
#5

you should check on exit checkpoint what is players virtual world
Код:
if(GetPlayerVirtualWorld(playerid) == 10 )
{
   // here you put your LS cordinate
}
else if ( GetPlayerVirtualWorld(playerid) == 11)
{
   // here SF
}
with this you can only have 1 exitcheck point...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)