Glad to help,,
Btw those commands are for emurelease 35
Printable View
Glad to help,,
Btw those commands are for emurelease 35
What version of Emulator is this for?
@Maintenance
EmuRelease35
Nice Cobe Ive Started :weapon Say if You Use :weapon Flame_Thrower
Sorry You Must Have Your Gunstr At Least At 5
If Your Gunstr Is That Much
Process's The Fire Packet Effect Diffrent weapons may take a while because You Louse Like 30HP Dont Wanna to much May Be \Too Easy To Kill And A Cooldown Of 1 minute
Please someone can code those commands for uber plz:
:givebadge (name) (badge id)
:online/whosonline [to know who is online in the hotel]
EDIT: i found it
cobe, that rocket command is basically my use command.. Thanks for the minior credits.. Also the medcar..
i know i did give you credit
and the medical wasn't really needed. ;S
25% Done On My Command
Cobe Do You The List Of Packetts Foor Effects
Thread got moved in here
Ask Craig..
K Thanks
Can anyone make a brawl gate that enables the user to brawl and deathmatch?
with the oneway gates
Deathmatch: one_way_door*7
and
Brawl: one_way_door*4
Thanks <3Code:#region one way gate
case "Ch": // Ch + ONE-WAY-DOOR-FURNI-ID (answer: Dx + WIRE(FURNI-ID) + I + WIRE(ROOM-UID-OF-CLICKER)) (sprite: 'one_way_door*#)
{
if (Room == null || roomUser == null || _inPublicroom)
return;
int itemID = Encoding.decodeVL64(currentPacket.Substring(2));
Rooms.Items.floorItem Item = Room.floorItemManager.getItem(itemID); // Find the item.
try
{
if (Room.floorItemManager.containsItem(itemID) && stringManager.getStringPart(Item.Sprite, 0, 12) == "one_way_door")
{
if (Item.Sprite == "one_way_door*5")
{
int corp_id;
int secure_id;
int corphq;
int userisarrested;
int isworking;
int global_job;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
corp_id = dbClient.getInt("SELECT corp_id FROM users WHERE name = '" + _Username + "'");
secure_id = dbClient.getInt("SELECT secure_id FROM users WHERE name = '" + _Username + "'");
isworking = dbClient.getInt("SELECT working FROM users WHERE name = '" + _Username + "'");
corphq = dbClient.getInt("SELECT room_id FROM jobs_rooms WHERE rank_id = '" + secure_id + "' && room_id = '" + _roomID + "'");
userisarrested = dbClient.getInt("SELECT arrested FROM users WHERE name = '" + _Username + "'");
global_job = dbClient.getInt("SELECT global FROM jobs_ranks WHERE id = '" + secure_id + "'");
}
if (corphq != _roomID && corp_id != 1)
{
sendData("BK" + "Sorry, but you must work here to enter this area.");
return;
}
if(isworking == 0)
{
sendData("BK" + "You must have started work to enter.");
return;
}
}
if (Item.Sprite == "one_way_door*3")
{
if (_Credits < 5)
{
sendData("BK" + "You must have atleast five credits on you to go through this gate.");
return;
}
string roomOwner;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
roomOwner = dbClient.getString("SELECT owner FROM rooms WHERE id = '" + _roomID + "'");
dbClient.runQuery("UPDATE users SET credits = credits + '5' WHERE name = '" + roomOwner + "'");
dbClient.runQuery("UPDATE users SET credits = credits - '5' WHERE name = '" + _Username + "'");
}
refreshValueables(true, false);
sendData("BK" + "You have been charged 5 credits for your toll.");
}
if (Item.Sprite == "one_way_door*1")
{
int userisarrested;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
userisarrested = dbClient.getInt("SELECT arrested FROM users WHERE name = '" + _Username + "'");
}
if (userisarrested == 1)
{
return;
}
}
if (Item.Sprite == "one_way_door*9")
{
if (_Rank < 2)
{
sendData("BK" + "Sorry, but you must purchase VIP to use this gate.");
return;
}
}
Room.sendData("Dx" + Encoding.encodeVL64(itemID) + "I" + Encoding.encodeVL64(Room.roomID)); // Opens the gate, with green light
Room.setSquareState(Item.X, Item.Y, 1, 1, virtualRoom.squareState.Open);
roomUser.walkLock = true;
switch (Item.Z) // Walk into the item
{
case 0: roomUser.goalY = Room.sqSTATE[Item.X, Item.Y + 1] == virtualRoom.squareState.Blocked ? Item.Y : Item.Y + 1; roomUser.goalX = Item.X; break;
case 2: roomUser.goalX = Room.sqSTATE[Item.X - 1, Item.Y] == virtualRoom.squareState.Blocked ? Item.X : Item.X - 1; roomUser.goalY = Item.Y; break;
case 4: roomUser.goalY = Room.sqSTATE[Item.X, Item.Y - 1] == virtualRoom.squareState.Blocked ? Item.Y : Item.Y - 1; roomUser.goalX = Item.X; break;
case 6: roomUser.goalX = Room.sqSTATE[Item.X + 1, Item.Y] == virtualRoom.squareState.Blocked ? Item.X : Item.X + 1; roomUser.goalY = Item.Y; break;
}
roomUser.walkLock = false;
while (true)
if (roomUser.statusManager.containsStatus("mv"))
break;
Room.sendData("Dx" + Encoding.encodeVL64(itemID) + "H" + Encoding.encodeVL64(Room.roomID), 1000);
Room.setSquareState(Item.X, Item.Y, 1, 1, virtualRoom.squareState.Blocked);
break;
}
}
catch { }
break;
}