المشاركة الأصلية كتبت بواسطة ابو مروان
(المشاركة 19088)
ادخل على كلاس packethandler
ابحث عن الكود دا
كود PHP:
public static void teleport(client.gamestate client, vipteleportlocations location)
اقفله بالسالب وبدله بى دا
كود PHP:
{
switch (location)
{
case vipteleportlocations.twincity:
Case vipteleportlocations.tcsquare: Client.entity.teleport((ushort)game.enums.maps.twincity, 301, 280); break;
case vipteleportlocations.wpfarm: Client.entity.teleport((ushort)game.enums.maps.twincity, 300, 278); break;
case vipteleportlocations.wpbridge: Client.entity.teleport((ushort)game.enums.maps.twincity, 300, 278); break;
case vipteleportlocations.wpaltar: Client.entity.teleport((ushort)game.enums.maps.twincity, 513, 747); break;
case vipteleportlocations.wpapparation: Client.entity.teleport((ushort)game.enums.maps.twincity, 252, 495); break;
case vipteleportlocations.wppoltergiest: Client.entity.teleport((ushort)game.enums.maps.twincity, 105, 349); break;
case vipteleportlocations.wpturtledove: Client.entity.teleport((ushort)game.enums.maps.twincity, 665, 396); break;
case vipteleportlocations.phoenixcastle:
Case vipteleportlocations.pcsqaure: Client.entity.teleport((ushort)game.enums.maps.phoenixcastle, 188, 264); break;
case vipteleportlocations.mfwatercave: Client.entity.teleport((ushort)game.enums.maps.phoenixcastle, 380, 31); break;
case vipteleportlocations.mfvillage: Client.entity.teleport((ushort)game.enums.maps.phoenixcastle, 785, 472); break;
case vipteleportlocations.mflake: Client.entity.teleport((ushort)game.enums.maps.phoenixcastle, 369, 568); break;
case vipteleportlocations.mfminecave: Client.entity.teleport((ushort)game.enums.maps.phoenixcastle, 924, 560); break;
case vipteleportlocations.mfbridge: Client.entity.teleport((ushort)game.enums.maps.phoenixcastle, 648, 567); break;
case vipteleportlocations.mftoapecity: Client.entity.teleport((ushort)game.enums.maps.phoenixcastle, 475, 841); break;
case vipteleportlocations.apecity:
Case vipteleportlocations.acsquare: Client.entity.teleport((ushort)game.enums.maps.apemoutain, 565, 562); break;
case vipteleportlocations.acsouth: Client.entity.teleport((ushort)game.enums.maps.apemoutain, 699, 640); break;
case vipteleportlocations.aceast: Client.entity.teleport((ushort)game.enums.maps.apemoutain, 624, 337); break;
case vipteleportlocations.acnorth: Client.entity.teleport((ushort)game.enums.maps.apemoutain, 200, 224); break;
case vipteleportlocations.acwest: Client.entity.teleport((ushort)game.enums.maps.apemoutain, 322, 621); break;
case vipteleportlocations.desertcity:
Case vipteleportlocations.dcsquare: Client.entity.teleport((ushort)game.enums.maps.desertcity, 500, 650); break;
case vipteleportlocations.dcsouth: Client.entity.teleport((ushort)game.enums.maps.desertcity, 758, 750); break;
case vipteleportlocations.dcvillage: Client.entity.teleport((ushort)game.enums.maps.desertcity, 480, 271); break;
case vipteleportlocations.dcmoonspring: Client.entity.teleport((ushort)game.enums.maps.desertcity, 291, 450); break;
case vipteleportlocations.dcancientmaze: Client.entity.teleport((ushort)game.enums.maps.desertcity, 87, 321); break;
case vipteleportlocations.birdiland:
Case vipteleportlocations.bisquare: Client.entity.teleport((ushort)game.enums.maps.birdisland, 723, 573); break;
case vipteleportlocations.bicenter: Client.entity.teleport((ushort)game.enums.maps.birdisland, 585, 593); break;
case vipteleportlocations.bisouthwest: Client.entity.teleport((ushort)game.enums.maps.birdisland, 562, 786); break;
case vipteleportlocations.binorthwest: Client.entity.teleport((ushort)game.enums.maps.birdisland, 125, 323); break;
case vipteleportlocations.binortheast: Client.entity.teleport((ushort)game.enums.maps.birdisland, 125, 323); break;
}
}
|