Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @persist List:array I Total
- if(first()) {
- List:pushString("brick/brickwall003a")
- List:pushString("nature/blendgrassgrass001a")
- List:pushString("concrete/concretefloor011a")
- List:pushString("concrete/concretefloor033o")
- Total=List:count()
- I=1
- timer("hell",1000)
- }
- if(clk("hell")) {
- # print(List[I,string])
- entity():setMaterial(List[I,string])
- entity():setColor(vec(0,0,0),1)
- I++
- timer("hell",1)
- }
- if(I>Total) { reset() }
- #Sets all materials in List to transparent until gmod is reset.
- #I cam across this one day when messing with materials.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement