Phantom Of Rogue-Gon Posted September 9, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.02 Content Count: 181 Reputation: 0 Joined: 08/07/13 Last Seen: September 15, 2014 Share Posted September 9, 2013 (edited) 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 September 9, 2013 by Phantom Of Rogue-Gon Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 9, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted September 9, 2013 #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 ... Quote Link to comment Share on other sites More sharing options...
Question
Phantom Of Rogue-Gon
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???
Edited by Phantom Of Rogue-GonLink to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.