Problem with SetObjectMaterial +rep
#1

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:
Код:
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
}
+rep for who can fix the problem Thx in advance
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)