Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACMD(do_timer_teleport)
- {
- const char *teleport;
- char arg1[256], arg2[256];
- teleport = two_arguments(argument, arg1, sizeof(arg1), arg2, sizeof(arg2));
- switch (arg1[0])
- {
- case '0':
- ch->WarpSet(591900, 100200, 65);
- break;
- case '1': // arg2
- ch->WarpSet(599400, 707300, 62);
- break;
- case '2': // arg3
- ch->WarpSet(432100, 164800, 61);
- break;
- case '3':
- if (ch->CountSpecifyItem(30190) >= 1)
- {
- if (ch->GetLevel() >= 75)
- {
- ch->WarpSet(182800, 1220600, 73);
- ch->RemoveSpecifyItem(30190);
- }
- else
- {
- ch->ChatPacket(CHAT_TYPE_INFO, "[Informatie] - Ai nevoie de nivel minim 75.");
- return;
- }
- }
- else
- {
- ch->ChatPacket(CHAT_TYPE_INFO, "[Informatie] - Ai nevoie de o Piatra Insangerata");
- return;
- }
- break;
- case '4':
- if (ch->GetLevel() >= 50)
- {
- ch->WarpSet(68900, 611000, 217);
- }
- else
- {
- ch->ChatPacket(CHAT_TYPE_INFO, "[Informatie] - Ai nevoie de nivel minim 50.");
- return;
- }
- break;
- case '5':
- if (ch->GetLevel() >= 95)
- {
- ch->WarpSet(828800, 1418600, 210);
- }
- else
- {
- ch->ChatPacket(CHAT_TYPE_INFO, "[Informatie] - Ai nevoie de nivel minim 95.");
- return;
- }
- case '6':
- if (ch->GetLevel() >= 90)
- {
- ch->WarpSet(828800, 1418600, 210);
- }
- else
- {
- ch->ChatPacket(CHAT_TYPE_INFO, "[Informatie] - Ai nevoie de nivel minim 90.");
- return;
- }
- default:
- return;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement