Hi there, basically I've tried to code ChatCommands(.cs) on my RP (RealityRP) and they just don't work. I've been trying for ages but they never work. So, as a test I changed the information for the police taxi to the army taxi, fairly simple. And guess what, Army doesn't have taxi. [C#] Taxi. - Pastebin.com
This is what it now looks like. Before it didn't have the Army jeep section and so I'm confused. I replicated the :ha <msg> as well, changed the Session.CharacterInfo.... bit to this:
Code:
if (Session.CharacterInfo.GroupID == 3 && Session.CharacterInfo.Working == 1)
When it was previously this:
Code:
if (!Session.HasRight("hotel_admin"))
Is there something I am doing wrong, or is there something else that I need to do?
(And yes, police GroupID is 3!)
Do I need to edit the db (lifedb.sql)?
and if it matters here are some of the tools/softwares I am using:
- XAMPP
- Microsoft Visual Studio
- RealityRP
- HAMACHI
- localhost/phpmyadmin (not navicat)