What's new

[halp] Script is bein a bitch

Tom

Donator
Joined
Oct 22, 2010
Messages
14,493
Location
United States, North Dakota

  • new awall[12];
    awall[0] = CreateDynamicObject(19449, 253.73599, 1891.08655, 1100.96594, 0.00000, 0.00000, 90.00000);
    awall[1] = CreateDynamicObject(19449, 251.13193, 1900.49524, 1100.96594, 0.00000, 0.00000, 90.00000);
    awall[2] = CreateDynamicObject(19449, 253.97585, 1895.70422, 1100.96594, 0.00000, 0.00000, 0.00000);
    awall[3] = CreateDynamicObject(19449, 253.27100, 1894.71826, 1097.71448, 0.00000, 0.00000, 0.00000);
    awall[4] = CreateDynamicObject(19357, 253.26440, 1900.53687, 1100.96594, 0.00000, 0.00000, 0.00000);
    awall[5] = CreateDynamicObject(19357, 253.26436, 1890.58850, 1100.96594, 0.00000, 0.00000, 0.00000);
    awall[6] = CreateDynamicObject(19357, 254.79384, 1892.12012, 1100.96594, 0.00000, 0.00000, 90.00000);
    awall[7] = CreateDynamicObject(19357, 254.79379, 1899.00439, 1100.96594, 0.00000, 0.00000, 90.00000);
    awall[8] = CreateDynamicObject(19357, 247.31343, 1891.08655, 1100.96594, 0.00000, 0.00000, 90.00000);
    awall[9] = CreateDynamicObject(19357, 246.36488, 1898.97510, 1100.96594, 0.00000, 0.00000, 0.00000);
    awall[10] = CreateDynamicObject(19387, 246.35762, 1892.66345, 1100.96594, 0.00000, 0.00000, 0.00000);
    awall[11] = CreateDynamicObject(19387, 246.33696, 1895.79260, 1100.96594, 0.00000, 0.00000, 0.00000);
    for(new pc; pc < sizeof(awall); pc++)
    awall[pc] = SetDynamicObjectMaterial(awall[pc], 0, 16648, "a51", "a51_wall1", 0);

why doesnt 0 & 2 appear correctly? <,<

Code:
new awall[12]; 
	awall[0] = CreateDynamicObject(19449, 253.73599, 1891.08655, 1100.96594,   0.00000, 0.00000, 90.00000);
	awall[1] = CreateDynamicObject(19449, 251.13193, 1900.49524, 1100.96594,   0.00000, 0.00000, 90.00000);
	awall[2] = CreateDynamicObject(19449, 253.97585, 1895.70422, 1100.96594,   0.00000, 0.00000, 0.00000);
	awall[3] = CreateDynamicObject(19449, 253.27100, 1894.71826, 1097.71448,   0.00000, 0.00000, 0.00000);
	awall[4] = CreateDynamicObject(19357, 253.26440, 1900.53687, 1100.96594,   0.00000, 0.00000, 0.00000);
	awall[5] = CreateDynamicObject(19357, 253.26436, 1890.58850, 1100.96594,   0.00000, 0.00000, 0.00000);
	awall[6] = CreateDynamicObject(19357, 254.79384, 1892.12012, 1100.96594,   0.00000, 0.00000, 90.00000);
	awall[7] = CreateDynamicObject(19357, 254.79379, 1899.00439, 1100.96594,   0.00000, 0.00000, 90.00000);
	awall[8] = CreateDynamicObject(19357, 247.31343, 1891.08655, 1100.96594,   0.00000, 0.00000, 90.00000);
	awall[9] = CreateDynamicObject(19357, 246.36488, 1898.97510, 1100.96594,   0.00000, 0.00000, 0.00000);
	awall[10] = CreateDynamicObject(19387, 246.35762, 1892.66345, 1100.96594,   0.00000, 0.00000, 0.00000);
	awall[11] = CreateDynamicObject(19387, 246.33696, 1895.79260, 1100.96594,   0.00000, 0.00000, 0.00000);
	for(new pc; pc < sizeof(awall); pc++)
	awall[pc] = SetDynamicObjectMaterial(awall[pc], 0, 16648, "a51", "a51_wall1", 0);
 
Top