[mapping help] how to move this object?
#1

How to move this object

Код:
	CreateObject(2948,1490.3000000,-685.9000000,93.8000000,0.0000000,0.0000000,268.0000000); //object(cr_door_02) (1)
	CreateObject(2948,1488.4000000,-685.9000000,93.8000000,0.0000000,0.0000000,92.0000000); //object(cr_door_02) (2)
	CreateObject(3279,1469.0000000,-682.1000000,93.8000000,0.0000000,0.0000000,0.0000000); //object(a51_spottower) (1)
	CreateObject(7922,1495.0000000,-684.1000000,104.8000000,0.0000000,358.8520000,0.0000000); //object(vgwstnewall6905) (1)
	CreateObject(7922,1499.0000000,-684.3000000,104.6000000,0.0000000,0.0000000,268.6200000); //object(vgwstnewall6905) (5)
	CreateObject(7922,1494.8000000,-686.2000000,104.7000000,0.0000000,0.0000000,88.3910000); //object(vgwstnewall6905) (6)
	CreateObject(7922,1498.8000000,-686.4000000,105.0000000,0.0000000,0.0000000,177.9290000); //object(vgwstnewall6905) (7)
	CreateObject(2975,1496.3000000,-686.8000000,102.9000000,0.0000000,0.0000000,0.0000000); //object(k_cargo3) (1)
	CreateObject(7922,1498.8000000,-686.4000000,103.7000000,0.0000000,0.0000000,177.9290000); //object(vgwstnewall6905) (8)
	CreateObject(7922,1499.0000000,-684.3000000,105.0000000,0.0000000,0.0000000,268.6160000); //object(vgwstnewall6905) (10)
	CreateObject(7922,1494.8000000,-686.2000000,104.1000000,0.0000000,0.0000000,88.3910000); //object(vgwstnewall6905) (13)
	CreateObject(7922,1494.8000000,-686.2000000,105.0000000,0.0000000,0.0000000,88.3910000); //object(vgwstnewall6905) (14)
	CreateObject(7922,1495.0000000,-684.1000000,105.0000000,0.0000000,358.8520000,0.0000000); //object(vgwstnewall6905) (15)
	CreateObject(2991,1497.7000000,-686.5000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (15)
	CreateObject(2991,1497.4000000,-684.6000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (16)
	CreateObject(2991,1498.0000000,-684.2000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (17)
	CreateObject(2991,1498.0000000,-686.1000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (18)
	CreateObject(2991,1498.0000000,-686.4000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (19)
	CreateObject(2991,1495.8000000,-684.1000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (20)
	CreateObject(2991,1495.8000000,-685.9000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (21)
	CreateObject(2991,1495.8000000,-686.3000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (22)
	CreateObject(2975,1497.1000000,-686.8000000,102.9000000,0.0000000,0.0000000,0.0000000); //object(k_cargo3) (3)
	CreateObject(2975,1496.3000000,-686.6000000,105.4000000,0.0000000,0.0000000,0.0000000); //object(k_cargo3) (4)
	CreateObject(2975,1497.4000000,-686.6000000,105.4000000,0.0000000,0.0000000,0.0000000); //object(k_cargo3) (5)
	CreateObject(983,1496.9000000,-687.1000000,108.3000000,0.0000000,0.0000000,89.5410000); //object(fenceshit3) (2)
	CreateObject(7096,1500.4000000,-682.0000000,105.5000000,358.8520000,0.0000000,272.0660000); //object(vrockstairs) (1)
	CreateObject(2975,1500.5000000,-685.3000000,105.9000000,357.8860000,22.9760000,2.0440000); //object(k_cargo3) (7)
	CreateObject(2975,1503.2000000,-685.3000000,104.7000000,357.8850000,22.9720000,2.0430000); //object(k_cargo3) (8)
	CreateObject(2975,1501.8000000,-685.2002000,105.3000000,357.8850000,22.9720000,2.0430000); //object(k_cargo3) (9)
	CreateObject(2975,1504.9000000,-685.5000000,104.8000000,357.7260000,8.0390000,1.4680000); //object(k_cargo3) (10)
	CreateObject(2975,1505.4000000,-685.5000000,104.8000000,357.6980000,358.8460000,3.3940000); //object(k_cargo3) (11)
	CreateObject(3062,1496.5000000,-683.4000000,104.9000000,0.0000000,0.0000000,0.0000000); //object(container_door) (1)
	CreateObject(3062,1495.6000000,-683.4000000,104.9000000,0.0000000,0.0000000,0.0000000); //object(container_door) (2)
	CreateObject(1500,222.1000000,69.8000000,1003.9000000,0.0000000,0.0000000,269.6880000); //object(gen_doorext05) (1)
	CreateObject(1500,222.1000000,71.3000000,1003.9000000,0.0000000,0.0000000,268.3010000); //object(gen_doorext05) (2)
To
Код:
CreateObject(2948,1490.3000000,-685.9000000,93.8000000,0.0000000,0.0000000,268.0000000); //object(cr_door_02) (1)
CreateObject(2948,1488.4000000,-685.9000000,93.8000000,0.0000000,0.0000000,92.0000000); //object(cr_door_02) (2)
CreateObject(3279,1469.0000000,-682.1000000,93.8000000,0.0000000,0.0000000,0.0000000); //object(a51_spottower) (1)
CreateObject(7922,1495.0000000,-684.1000000,104.8000000,0.0000000,358.8520000,0.0000000); //object(vgwstnewall6905) (1)
CreateObject(7922,1499.0000000,-684.3000000,104.6000000,0.0000000,0.0000000,268.6200000); //object(vgwstnewall6905) (5)
CreateObject(7922,1494.8000000,-686.2000000,104.7000000,0.0000000,0.0000000,88.3910000); //object(vgwstnewall6905) (6)
CreateObject(7922,1498.8000000,-686.4000000,105.0000000,0.0000000,0.0000000,177.9290000); //object(vgwstnewall6905) (7)
CreateObject(2975,1496.3000000,-686.8000000,102.9000000,0.0000000,0.0000000,0.0000000); //object(k_cargo3) (1)
CreateObject(7922,1498.8000000,-686.4000000,103.7000000,0.0000000,0.0000000,177.9290000); //object(vgwstnewall6905) (8)
CreateObject(7922,1499.0000000,-684.3000000,105.0000000,0.0000000,0.0000000,268.6160000); //object(vgwstnewall6905) (10)
CreateObject(7922,1494.8000000,-686.2000000,104.1000000,0.0000000,0.0000000,88.3910000); //object(vgwstnewall6905) (13)
CreateObject(7922,1494.8000000,-686.2000000,105.0000000,0.0000000,0.0000000,88.3910000); //object(vgwstnewall6905) (14)
CreateObject(7922,1495.0000000,-684.1000000,105.0000000,0.0000000,358.8520000,0.0000000); //object(vgwstnewall6905) (15)
CreateObject(2991,1497.7000000,-686.5000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (15)
CreateObject(2991,1497.4000000,-684.6000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (16)
CreateObject(2991,1498.0000000,-684.2000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (17)
CreateObject(2991,1498.0000000,-686.1000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (18)
CreateObject(2991,1498.0000000,-686.4000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (19)
CreateObject(2991,1495.8000000,-684.1000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (20)
CreateObject(2991,1495.8000000,-685.9000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (21)
CreateObject(2991,1495.8000000,-686.3000000,107.0000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (22)
CreateObject(2975,1497.1000000,-686.8000000,102.9000000,0.0000000,0.0000000,0.0000000); //object(k_cargo3) (3)
CreateObject(2975,1496.3000000,-686.6000000,105.4000000,0.0000000,0.0000000,0.0000000); //object(k_cargo3) (4)
CreateObject(2975,1497.4000000,-686.6000000,105.4000000,0.0000000,0.0000000,0.0000000); //object(k_cargo3) (5)
CreateObject(983,1496.9000000,-687.1000000,108.3000000,0.0000000,0.0000000,89.5410000); //object(fenceshit3) (2)
CreateObject(7096,1500.4000000,-682.0000000,105.5000000,358.8520000,0.0000000,272.0660000); //object(vrockstairs) (1)
CreateObject(2975,1500.5000000,-685.3000000,105.9000000,357.8860000,22.9760000,2.0440000); //object(k_cargo3) (7)
CreateObject(2975,1503.2000000,-685.3000000,104.7000000,357.8850000,22.9720000,2.0430000); //object(k_cargo3) (8)
CreateObject(2975,1501.8000000,-685.2002000,105.3000000,357.8850000,22.9720000,2.0430000); //object(k_cargo3) (9)
CreateObject(2975,1504.9000000,-685.5000000,104.8000000,357.7260000,8.0390000,1.4680000); //object(k_cargo3) (10)
CreateObject(2975,1505.4000000,-685.5000000,104.8000000,357.6980000,358.8460000,3.3940000); //object(k_cargo3) (11)
CreateObject(3062,1496.5000000,-683.4000000,104.9000000,0.0000000,0.0000000,0.0000000); //object(container_door) (1)
CreateObject(3062,1495.6000000,-683.4000000,104.9000000,0.0000000,0.0000000,0.0000000); //object(container_door) (2)
CreateObject(1500,222.3000000,68.8000000,1004.0000000,0.0000000,0.0000000,359.9760000); //object(gen_doorext05) (1)
CreateObject(1500,222.1000000,70.6000000,1003.9000000,0.0000000,0.0000000,358.8250000); //object(gen_doorext05) (2)
Reply
#2

Again ? explain it more
Reply
#3

Like.. if i type a command /movelspdchiefdoor

it will move
Reply
#4

Quote:
Originally Posted by ChuckyBabe
Посмотреть сообщение
Again ? explain it more
pinoy ka rin pala?

ako owner ng AS:RP
Reply
#5

https://sampwiki.blast.hk/wiki/MoveObject
Reply
#6

use moveobject
Reply
#7

If you want to shift the entire 'map' by a certain amount, just use GetObjectPos and add an offset to it in MoveObject.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)