Not sure where that is as just working off of Reality, Not sure if this is what you're looking for but:
public void UpdateEnergy(SqlDatabaseClient MySqlClient, int Amount)
{
// mEnergy += Amount;
// MySqlClient.SetParameter("userid", mId);
//...
Using this RP emulator, very new to coding etc. When you shoot using the command, everytime its supposed to take 2 energy each shot but doesnt.
This is the code for it:
Instance.BroadcastMessage(RoomChatComposer.Compose(Actor.Id, "*Shoots " + Username + " with their G3 causing " + HitPoint + "...
RP Emulator, Government is group ID 9, so I changed this to allow everybody in gov corp to send a hotel alert.
Original
#region :ha <msg>
case "ha":
if (!Session.HasRight("hotel_admin"))
{
return...
Thanks, changed the port and this worked! Now it loads the client though and the main room doesnt load, and as it being an RP emulator obviously the first room needs to load :( So frustrating, gonna try and change swf's to see if this helps