Jump to content
  • 0

Question

Posted (edited)

zwnxpj.jpg

 if the player want use @go 0 she/he warp to 0 map but same map

@go 0

@go 1

@go 2

@go 3

@go 4

@go 5

@go 6

@go 7

@go 8

@go 9

 

How can add this in one map???

mapindex.h
//Some definitions for the mayor city maps.
#define MAP_PHTOWNALL "mini prontera"
#define MAP_PHTOWNALL "mini geffen"
#define MAP_PHTOWNALL "mini morocc"
#define MAP_PHTOWNALL "mini alberta"
#define MAP_PHTOWNALL "mini payon"
#define MAP_PHTOWNALL "mini izlude"
#define MAP_PHTOWNALL "mini aldebaran"
atcommand.c
{ MAP_PHTOWNALL,    200, 187 }, //  0=Mini Prontera
		{ MAP_PHTOWNALL,      177,  51 }, //  1=Mini Morroc
		{ MAP_PHTOWNALL,      331,  341 }, //  2=Mini Geffen
		{ MAP_PHTOWNALL,       200, 341 }, //  3=Mini Payon
		{ MAP_ALBERTA,     192, 147 }, //  4=Alberta
		{ MAP_IZLUDE,      128, 114 }, //  5=Izlude
		{ MAP_ALDEBARAN,   140, 131 }, //  6=Al de Baran
		clif_displaymessage(fd, " 0=Mini Prontera         1=Mini Morroc      2=Mini Geffen");
		clif_displaymessage(fd, " 3=Mini Payon            4=Mini Alberta      5=Mini Izlude");
		clif_displaymessage(fd, " 6=Mini Al De Baran      7=Lutie        8=Comodo");
	// try to identify the map name
	if (strncmp(map_name, "phtownall", 3) == 0) {
		town = 0;
	} else if (strncmp(map_name, "phtownall", 3) == 0) {
		town = 1;
	} else if (strncmp(map_name, "phtownall", 3) == 0) {
		town = 2;
	} else if (strncmp(map_name, "phtownall", 3) == 0 ||
	           strncmp(map_name, "phtownall", 3) == 0) {
		town = 3;
	} else if (strncmp(map_name, "phtownall", 3) == 0) {
		town = 4;
	} else if (strncmp(map_name, "phtownall", 3) == 0 ||
	           strncmp(map_name, "phtownall", 3) == 0) {
		town = 5;
	} else if (strncmp(map_name, "phtownall", 3) == 0 ||
	           strcmp(map_name,  "phtownall") == 0) {
Edited by Phantom Of Rogue-Gon

1 answer to this question

Recommended Posts

Posted
#define MAP_PHTOWNALL "mini prontera"
#define MAP_PHTOWNALL "mini geffen"
#define MAP_PHTOWNALL "mini morocc"
#define MAP_PHTOWNALL "mini alberta"
#define MAP_PHTOWNALL "mini payon"
#define MAP_PHTOWNALL "mini izlude"
#define MAP_PHTOWNALL "mini aldebaran"

you only need to declare one since it's still the same map ...

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...