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