06.04.2012, 18:46
Hello, I recently tried to use SetObjectMaterial, like this:
Now, this does not give any errors, nor warnings, but it still does not work, does anyone know why? If sow please tell/explain to me, and tell/explain how I should fix this.
Thanks in advance!
pawn Код:
new Grass[71];
Grass[1] = CreateObject(17081, 392.34, -2857.71, 5.30, 0.00, 0.00, 0.00);
//69 more of them underneath here
for(new i; i < 0; i++)
{
SetObjectMaterial(Grass[i], 0, 18334, "cs_forests", "grasstype4", 0);
}
Thanks in advance!