Warnings.
#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


Messages In This Thread
Warnings. - by Tuntun - 27.09.2016, 15:29
Re: Warnings. - by Konstantinos - 27.09.2016, 15:35
Re: Warnings. - by Tuntun - 27.09.2016, 15:40
Re: Warnings. - by Konstantinos - 27.09.2016, 15:44
Re: Warnings. - by Tuntun - 27.09.2016, 16:05
Re: Warnings. - by Konstantinos - 27.09.2016, 16:20
Re: Warnings. - by IndependentGaming - 27.09.2016, 16:23
Re: Warnings. - by Tuntun - 27.09.2016, 16:33

Forum Jump:


Users browsing this thread: 2 Guest(s)