Changing Entrance Name Problem
#1

Got a problem here, not sure why.

When I create a entrance, I am able to do change the entrance's name after.

Once I GMX or restart, I am unable and returns my not near entrance error?

The text and icons spawn, I am also unable to /enter.

Dialog:
PHP код:
            case 1//Change Entrance Name
            
{
                if(
InRangeOfEntrance(playerid))
                {
                    
Dialog_Show(playeridChangeEntranceNameDIALOG_STYLE_INPUT"Entrance Editor""Please enter the desired name:""Continue","Cancel");
                }
                else
                {
                    
SendErrorMessage(playerid"You need to be standing in the entrance icon you wish to change the name of!");
                }
            } 
InRangeOfEntrance
PHP код:
public InRangeOfEntrance(playerid)
{
    for(new 
id 0id MAX_ENTERid++)
    {
        if(
IsPlayerInRangeOfPoint(playerid3.0Entrance[id][PosX], Entrance[id][PosY], Entrance[id][PosZ]))
        {
            return 
id;
        }
    }
    return 
0;

Reply


Messages In This Thread
Changing Entrance Name Problem - by theonethatownz - 01.04.2016, 17:13
Re: Changing Entrance Name Problem - by DTV - 01.04.2016, 21:08
Re: Changing Entrance Name Problem - by theonethatownz - 01.04.2016, 23:39

Forum Jump:


Users browsing this thread: 1 Guest(s)