SA-MP Forums Archive
[HELP] Problem With Material !! Really Need! [+REP] - 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] Problem With Material !! Really Need! [+REP] (/showthread.php?tid=503602)



[HELP] Problem With Material !! Really Need! [+REP] - amirab - 30.03.2014

Hi Guyz,
I have a problem with material
not really problem
i have too many objects
and i can't set objectid for them
i want to know is there any way to set Material for them?!
i think i have 264 objects that i want to change Material

Is there any idea for this?!

Thanks.


Re: [HELP] Problem With Material !! Really Need! [+REP] - RajatPawar - 30.03.2014

Err, please state your problem in better language, please!

Do you mean that you want to set materials for a large number of objects or something like that?


Re: [HELP] Problem With Material !! Really Need! [+REP] - amirab - 30.03.2014

yes i mean that i want to set Material for 378 Objects is there any fast way?!


Re: [HELP] Problem With Material !! Really Need! [+REP] - RenovanZ - 30.03.2014

No, because you need the object id, instead you have global variables with array, then you can loop though the variables then set the material.


Re: [HELP] Problem With Material !! Really Need! [+REP] - amirab - 31.03.2014

No
I Tested Another Way I Got Answer
Any Thanks Everyone to help me !