Warnings.
#1

Tried to re-texture the objects.. and getting them:


Reply
#2

Go to SetObjectMaterial lines and look again at the code. CreateObject has 4 parameters (missing 3 last for rotation). The second and third line (of SetObjectMaterial function) have the rotation instead of the index and the rest parameters.
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Go to SetObjectMaterial lines and look again at the code. CreateObject has 4 parameters (missing 3 last for rotation). The second and third line (of SetObjectMaterial function) have the rotation instead of the index and the rest parameters.
Still.. here is the codes. fix them if you can.

Код:
SetObjectMaterial(CreateObject(19463, -2029.32202, -655.87482, 1000.11182, 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
    SetObjectMaterial(CreateObject(19463, -2024.55408, -651.17999, 1003.73383, 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
    SetObjectMaterial(CreateObject(19463, -2033.87732, -647.01343, 1003.73383, 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
    SetObjectMaterial(CreateObject(19463, -2036.28162, -649.47150, 1003.73383, 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
    SetObjectMaterial(CreateObject(19463, -2038.70215, -651.96942, 1003.73383, 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
 	SetObjectMaterial(CreateObject(19463, -2026.92407, -653.62329, 1003.73383, 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
 	SetObjectMaterial(CreateObject(19463, -2029.30164, -656.05786, 1003.73383, 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
 	SetObjectMaterial(CreateObject(19463, -2031.72095, -658.54382, 1003.73383, 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
Код:
	CreateObject(19463, -2029.32202, -655.87482, 1000.11182,   0.00000, 90.00000, 46.00000);
	CreateObject(19463, -2024.55408, -651.17999, 1003.73383,   0.00000, 90.00000, 46.00000);
	CreateObject(19463, -2033.87732, -647.01343, 1003.73383,   0.00000, 90.00000, 46.00000);
	CreateObject(19463, -2036.28162, -649.47150, 1003.73383,   0.00000, 90.00000, 46.00000);
	CreateObject(19463, -2038.70215, -651.96942, 1003.73383,   0.00000, 90.00000, 46.00000);
	CreateObject(19463, -2026.92407, -653.62329, 1003.73383,   0.00000, 90.00000, 46.00000);
	CreateObject(19463, -2029.30164, -656.05786, 1003.73383,   0.00000, 90.00000, 46.00000);
	CreateObject(19463, -2031.72095, -658.54382, 1003.73383,   0.00000, 90.00000, 46.00000);
Reply
#4

Код:
SetObjectMaterial(CreateObject(19463, -2029.32202, -655.87482, 1000.11182, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2024.55408, -651.17999, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2033.87732, -647.01343, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2036.28162, -649.47150, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2038.70215, -651.96942, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2026.92407, -653.62329, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2029.30164, -656.05786, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2031.72095, -658.54382, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Код:
SetObjectMaterial(CreateObject(19463, -2029.32202, -655.87482, 1000.11182, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2024.55408, -651.17999, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2033.87732, -647.01343, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2036.28162, -649.47150, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2038.70215, -651.96942, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2026.92407, -653.62329, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2029.30164, -656.05786, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
SetObjectMaterial(CreateObject(19463, -2031.72095, -658.54382, 1003.73383, RX, RY, RZ), 0, 18202, "w_towncs_t", "hatwall256hi", 0xFFFFFFFF);
Fixed.

Can you make a tp cmd for me?
Reply
#6

Wasn't the problem with the "Range check error" in the map editor before editing your post? I can't make a command as I don't know a solid location that teleports you there. What I used to do in the past when I wanted to test big maps was a command that adds height (Z) to my position + fly script to move around easily.
Reply
#7

Quote:
Originally Posted by Tuntun
Посмотреть сообщение
Fixed.

Can you make a tp cmd for me?
CMD:tp(playerid, params[])
{

SetPlayerPos(playerid, -2038.70215, -651.96942, 1003.73383);
return 1;
}
Reply
#8

Well.. forget about the teleport thing. I will use s0biet or something..

Suddenly my GTA sa display fucked up. Look at the graphics: What happened to it? I'm Nvidia user.. 740.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)