View Single Post
  #8  
Old 08-26-2011, 03:47 AM
iBeatz iBeatz is offline
Kavan
iBeatz's Avatar
Join Date: Dec 2010
Location: Northern Ireland, UK
Posts: 154
iBeatz will become famous soon enough
Send a message via Yahoo to iBeatz
Quote:
Originally Posted by fowlplay4 View Post
You should be verifying that params[0] is "GotPlayers" in your onActionClientSide. I question your switch statement as well because it doesn't appear you're using a break for each, which could cause a falling through and adding rows for no reason.
Again, the break is there, I just didn't copy and paste it properly.
I was verifying params[0] after that function was called, so that the function would be called no matter what params[0] was, but it seems that placing the function after the verification fixes the problem, so thanks fowlplay.

Why would it be called twice in the first place though?
__________________

Intelligence without ambition is like a bird without wings.

Reply With Quote