Interior Problem
#1

Hello, I have a problem with same interiors, well I want to add few house interiors around the city and some of them will be same, and all of the interiors will be with same commands /enter and /exit, The problem is if I make 2 same interiors lets say: 1 at Ganton and 2nd at East Beach, I will do /enter in Ganton But will /exit at East Beach, Im wondering if there is a way to fix this?

Here is the command of one of the interiors

if(!strcmp("/enter",cmdtext))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 2808.1072,-1175.9288,25.3790))
{
SetPlayerPos(playerid,2807.63,-1170.15,1025.57);
SetPlayerInterior(playerid,;
}
Reply
#2

You need to use different virtual worlds.
https://sampwiki.blast.hk/wiki/SetPlayerVirtualWorld
https://sampwiki.blast.hk/wiki/GetPlayerVirtualWorld
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)