- /modify was supposed to replace many of the old commands, but I never got around to implementing it. Seemed a good time to start.
Code: Select all
/modify spawn zoneto {spawn_id} Wiki for /modify spawn
Code tested and on SVN.
Moderator: Team Members
Code: Select all
/modify spawn zoneto {spawn_id} Code: Select all
/modify skill add parryCode: Select all
/modify skill remove parryCode: Select all
/modify skill set parry 50Code: Select all
if (strcmp(sep->arg[1], "door") == 0)
{
Widget* target = (Widget*)client->GetPlayer()->GetTarget();
if (target && target->IsPlayer() == false)
{
client->Message(CHANNEL_COLOR_YELLOW, "Modify client target using door give me this heading", (Widget*)target->GetIncludeHeading());
}
else
client->SimpleMessage(CHANNEL_COLOR_RED, "Something Went Wrong! Back to the drawing board.");
}
else
client->SimpleMessage(CHANNEL_COLOR_RED, "invalid target!");
Code: Select all
if (strcmp(sep->arg[1], "door") == 0)
{
Widget* target = (Widget*)client->GetPlayer()->GetTarget();
client->Message(CHANNEL_COLOR_YELLOW, "Modify client target using door give me this heading", (Widget*)target->GetIncludeHeading());
}
else
client->SimpleMessage(CHANNEL_COLOR_RED, "invalid target!");
Users browsing this forum: No registered users and 0 guests