SA-MP Forums Archive
[Help] Making object invisible but touchable. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] Making object invisible but touchable. (/showthread.php?tid=500623)



[Help] Making object invisible but touchable. - Strain - 14.03.2014

How can I make some object invisible but touchable? like this object: vgsSairportland06 (8171)
There is any way to make it with Incognito's streamer? if not, there is good way to make it?
Thanks


Re: [Help] Making object invisible but touchable. - mahardika - 14.03.2014

new oid = CreateObject(blahblahblah);
SetObjectMaterial(oid, 0, 0, "none", "none", 0xFF00FF00);


Re: [Help] Making object invisible but touchable. - Strain - 14.03.2014

I can see part of him... There is another way?


Re: [Help] Making object invisible but touchable. - Matess - 14.03.2014

pawn Код:
SetObjectMaterial(oid, 0, 0, "none", "none", 0xFF00FF00);
SetObjectMaterial(oid, 1, 0, "none", "none", 0xFF00FF00);//second parameter is materialindex and every object have 0 or more



Re: [Help] Making object invisible but touchable. - Strain - 14.03.2014

Thanks, there is way that I know the amount of indexs of everyone? or another way to make object invisible?


Re: [Help] Making object invisible but touchable. - Matess - 14.03.2014

Yeah SAMP editor

http://s8.postimg.org/lnu8zo2ph/asdas.png