Want someone make this code?

search on Server Side dglv2 and change it for GodH and then the coords that should be -1, -1Dshaked wrote: I like to teleport in cityhall to GodH, Abaddon, Procella etc.
Want someone make this code?![]()
And whats I change in client then?else if (memcmp(m_pClientList[iClientH]->m_cLocation, "aresden",5) == 0 ) {
RequestTeleportHandler(iClientH, "2 ", "GodH", -1, -1);
}
else if (memcmp(m_pClientList[iClientH]->m_cLocation, "elvine",4) == 0 ) {
RequestTeleportHandler(iClientH, "2 ", "GodH", -1, -1);
}
Yeah thats rightDshaked wrote:And whats I change in client then?else if (memcmp(m_pClientList[iClientH]->m_cLocation, "aresden",5) == 0 ) {
RequestTeleportHandler(iClientH, "2 ", "GodH", -1, -1);
}
else if (memcmp(m_pClientList[iClientH]->m_cLocation, "elvine",4) == 0 ) {
RequestTeleportHandler(iClientH, "2 ", "GodH", -1, -1);
}
Do like i told youDshaked wrote: Sry, but its too hard for me : )
else if (memcmp(m_pClientList[iClientH]->m_cLocation, "aresden",5) == 0 ) {
RequestTeleportHandler(iClientH, "2 ", "GodH", -1, -1);
}
else if (memcmp(m_pClientList[iClientH]->m_cLocation, "elvine",4) == 0 ) {
RequestTeleportHandler(iClientH, "2 ", "GodH", -1, -1);
}
Damn man i already told you it worksDshaked wrote: Want someone help make make this code to client source?
And hg server, cause im not sure are this right code.else if (memcmp(m_pClientList[iClientH]->m_cLocation, "aresden",5) == 0 ) {
RequestTeleportHandler(iClientH, "2 ", "GodH", -1, -1);
}
else if (memcmp(m_pClientList[iClientH]->m_cLocation, "elvine",4) == 0 ) {
RequestTeleportHandler(iClientH, "2 ", "GodH", -1, -1);
}
I added some things to it.[CONFIG]
teleport = 1 William gshop_1 dglv2 263 258 5000 40 300 aresden 0 0 0 0
teleport = 2 William gshop_2 dglv2 209 258 5000 40 300 elvine 0 0 0 0
teleport = 3 William gshop_1 middleland 524 524 0 1 300 aresden 0 0 0 1
teleport = 4 William gshop_2 middleland 392 218 0 1 300 elvine 0 0 0 1
teleport = 5 William gshop_1 BtField 68 225 0 1 300 aresden 0 0 0 1
teleport = 6 William gshop_2 BtField 202 70 0 1 300 elvine 0 0 0 1
And 2nd I think I dont need these, cause I need add only to client the "teleport to GodH"section.teleport = 1 William gshop_1 dglv2 263 258 5000
40 300 aresden 0 0 0 0
teleport = 2 William gshop_2 dglv2 209 258 5000
40 300 elvine 0 0 0 0
teleport = 1 William gshop_1 GodH -1 -1 5000
40 300 aresden 0 0 0 0
teleport = 2 William gshop_2 GodH -1 -1 5000
40 300 elvine 0 0 0 0
teleport = 3 William gshop_1 middleland 524 524 0 1
300 aresden 0 0 0 1
teleport = 4 William gshop_2 middleland 392 218 0 1
300 elvine 0 0 0 1
teleport = 5 William gshop_1 BtField 68 225 0 1
300 aresden 0 0 0 1
teleport = 6 William gshop_2 BtField 202 70 0 1
300 elvine 0 0 0 1