PDA

View Full Version : Help [Colorize Coronas]


redreaper666
14/11/2013, 01:20 PM
Hey guys i could need some help.
I want to know if theres any way to color this Corona object: 19295 using SetObjectMaterial

Would be great to get working solutions ;)

Jankingston
14/11/2013, 01:23 PM
Its is impossible ( In my opinion ) but yet, u can do by attaching some objects thought ( But not a good idea :D )

redreaper666
14/11/2013, 01:28 PM
Well
This was the test command i made:


new Test[MAX_PLAYERS];
//------------------------------------------------------------------------------
CMD:dcorona(playerid, params[])
{
DestroyObject(Test[playerid]);
return 1;
}
//------------------------------------------------------------------------------
CMD:corona(playerid, params[])
{
DestroyObject(Test[playerid]);
Test[playerid] = CreateObject(19295, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
SetObjectMaterial(Test[playerid], 0, -1, "egg_texts", "easter_egg01", 0x9A0C95AA);
AttachObjectToVehicle(Test[playerid], GetPlayerVehicleID(playerid), 0.0, 0.0, 1.0, 0.000000, 0.000000, 0.000000);
return 1;
}


it works fine with object 1318 ,but when you do it on this object it gets invisible

youll need zcmd as include

redreaper666
16/11/2013, 07:41 AM
bump