Objetos invisibles - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Objetos invisibles (
/showthread.php?tid=546260)
Objetos invisibles -
Metzone - 14.11.2014
Hola, tengo una pequeсa duda, y es como hacer objetos invisibles, ya que no tengo ni idea....
їHay algun objeto por defecto en SAMP que sea invisible y grande?
Re: Objetos invisibles -
iSanchez - 14.11.2014
no creo nunca he visto alguno, tal vez se podria hacer cambiandole la textura al objeto
Re: Objetos invisibles -
meta1 - 15.11.2014
Usando SetObjectMaterial(objectid, materialindex, modelid, txdname[], texturename[], materialcolor)
Intenta de que el material color sea transparente: algo de este estilo
Re: Objetos invisibles -
Metzone - 15.11.2014
No entendi muy bien, mira este objeto, їMe peudes hacer un ejemplo?
CreateObject(985, -1367.99854, -150.84740, 1054.00000, 0.00000, 0.00000, 0.00000);
Re: Objetos invisibles -
meta1 - 15.11.2014
Quote:
miobjeto = CreateObject(985, -1367.99854, -150.84740, 1054.00000, 0.00000, 0.00000, 0.00000);
SetObjectMaterial(miobjeto, 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFF00);
|
Proba eso y contame si te funciono
Re: Objetos invisibles -
Metzone - 15.11.2014
Se puso unas texturas de colores, amarillo verde rojo, como lineas, el objeto es un piso el que quiero poner invisible
Re: Objetos invisibles -
meta1 - 15.11.2014
Quote:
miobjeto = CreateObject(985, -1367.99854, -150.84740, 1054.00000, 0.00000, 0.00000, 0.00000);
SetObjectMaterial(miobjeto, 0, 19341, "egg_texts", "easter_egg01", 0x00FFFFFF);
|
Me confundн antes, proba esto quizб funcione