25.07.2014, 22:46
Ok, so I want to change the colour of the "kmb_goflag" object (the green flag), but SetObjectMaterial is not working 
Here is the code:
+rep for who can fix the problem
Thx in advance

Here is the code:
Код:
OnGameModeInIt()
{
//Some code here before the for loop (including the Creation of the flag objects)
for(new i = 0; i < 13; i++)
{
SetObjectMaterial(zFlag[i], 0, -1, "none", "none", 0xFF4D4D4D);
}
//Some more code here :P
}
Thx in advance

