PDA

View Full Version : interior bug


HardBoy
15/09/2012, 07:33 AM
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...

detter
15/09/2012, 07:50 AM
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();

Stanford
15/09/2012, 08:02 AM
In general ======> Remake the exits and set a different virtual worlds.

HardBoy
15/09/2012, 04:42 PM
stell bugged
see what i did right or no?

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

detter
15/09/2012, 07:04 PM
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...