Jump to content

hakare

Members
  • Posts

    4
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by hakare

  1. hello, I want a help here on how to modify the command. gmlvl in 1 tele for so he can run when not being attacked, for use when being attacked not give to use when being attacked well the command line is this if they can help me how he had been and where it is and how is the command to make the change

    comand:

    bool ChatHandler: HandleTeleCommand (const char * args)

    (

    if (* args)

    return false;

    Player _PLAYER = m_session-> getPlayer ();

    / / Id, or string, or [name] Shift-click form | color | Hoel: id | h [name] | h | r

    GameTele const * tele extractGameTeleFromLink = ((char *) args);

    if (tele)

    (

    SendSysMessage (LANG_COMMAND_TELE_NOTFOUND);

    SetSentErrorMessage (true);

    return false;

    )

    / / Stop flight if need

    if (_PLAYER-> isInFlight ())

    (

    _PLAYER-> GetMotionMaster () -> MovementExpired ();

    _PLAYER-> m_taxi.ClearTaxiDestinations ();

    )

    / / Save only in non-flight case

    else

    _PLAYER-> SaveRecallPosition ();

    _PLAYER-> teleportt (tele-> mapId, tele-> position_x, tele-> position_y, tele-> position_z, tele-> orientation);

    return true;

    )

    where I put the command and control and what that faiz to make it work it

    well I'm not very fluent in English plus any doubts ask me

    thanks

×
×
  • 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