Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 10 11 12 13 14 … 18 Next »
ship_cannon problems : bug ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
ship_cannon problems : bug ?
28-10-2015, 03:59 PM, (This post was last modified: 28-10-2015, 04:00 PM by SuperPlayer.)
#2
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: ship_cannon problems : bug ?
I am doing the same thing in my code and it just works fine. This is the code i am using, maybe it helps you to identify an error in yours:

for i,v in pairs(Cannons) do--Note that Cannons is an array of entities
Can = Cannons[i]:getWirelink()
Can["Fire"] = 1
end
Also if you could give the loop it would help us to help you. I know you dont want to give out "secrets", but there is really nothing secret on a for loop.Big Grin

SuperPlayer
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
ship_cannon problems : bug ? - by Yuri6037 - 28-10-2015, 03:47 PM
RE: ship_cannon problems : bug ? - by SuperPlayer - 28-10-2015, 03:59 PM
RE: ship_cannon problems : bug ? - by Yuri6037 - 28-10-2015, 05:43 PM
RE: ship_cannon problems : bug ? - by Person8880 - 28-10-2015, 05:47 PM
RE: ship_cannon problems : bug ? - by Yuri6037 - 28-10-2015, 05:55 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.