Jump to content

Starting Place


Guest Lehti968
 Share

Recommended Posts

In Player.cpp at Player::Create where it says:

SetMapId(info->mapId);

Relocate(info->positionX,info->positionY,info->positionZ);

Add something like:

        if(GetSession()->GetSecurity() > 1)
       {
               SetMapId(1);
               Relocate(x,y,z);
       }
       else
       {
               SetMapId(info->mapId);
               Relocate(info->positionX,info->positionY,info->positionZ);
       }

but replace x,y and z with the coordinates and also the correct map ID.

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use