06.08.2011, 14:54
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,;
}
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,;
}