I get this error everytime I try to add commands. Helpp

Ashleigh1

New Member
Aug 2, 2012
15
5
I keep getting this error everytime i try to add commands into the hotel. YEs its an RP


 

Stevee

Posting Freak
Mar 29, 2011
580
35
Also the command that we're trying to use for the testing purposes is the revive command that was posted in this
Code:
#region :revive
                    case "revive":
                        {
                            if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false)
                                return false;
                            else
                            {
                                string Dead;
                                Dead = DB.runRead("SELECT dead FROM users WHERE name = '" + _Username + "'");
                                if (Dead == "1")
                                {
                                    DB.runQuery("UPDATE users SET dead = '0', time_dead = '0' WHERE name = '" + _Username + "'");
                                    Room.sendSaying(roomUser, "*regains conciousness*");
                                    roomUser.walkLock = false; // Freezes the user
                                    TestRefresh(_Username);
                                    deadLooper.Abort();
                                    deadLooper = null;
 
                                }
                            }
                            break;
                        }
                    #endregion

That's the code if you can't see the thread.
 

Users who are viewing this thread

Top