• KeyPressed when over entity?
    2 replies, posted
Hi, how would i make it so when a player presses E when looking at an entity, gives them a random ammount of money? Thanks
Use ENT:OnUse() to give the activator points via math.random
[QUOTE=NiandraLades;46222268]Use ENT:OnUse() to give the activator points via math.random[/QUOTE] I thought it was [url=http://wiki.garrysmod.com/page/ENTITY/Use]ENT:Use[/url] not OnUse?
Sorry, you need to Log In to post a reply to this thread.