So im trying to make an entitiy spawn with a random of these two models, is this possible?
self:SetModel("models/props_wasteland/rockgranite03b.mdl");
self:SetModel("models/props_wasteland/rockgranite03a.mdl");
Yes. In the entity's Initialize method, you can randomly select a model using math.random.
See example 2 on this page:
[url]http://wiki.garrysmod.com/page/table/Random[/url]
Sorry, you need to Log In to post a reply to this thread.