VLE 1.04 is now released!
Note:I highly recommend you to delete the following file: VLE Files\Stats\Online.txt
This is becasue the online duration stored in the file for each player was seriously inaccurate in previous versions. The bug is fixed in 1.04.
If you delete the file, the script will automatically create it next time a player leaves the server and start logging the players' online durations like normal.
Download link:http://cid-6ce47caf48727b43.skydrive.live.com/self.aspx/.Public/VLE%20Release%201.04.zipUpdates:/setpos now works if the player whose position you are setting is in a vehicle.
When a player who is registered but not logged in, continuously pressed shift to spawn, it will no longer spam "Name spawned as a ..." to all players.
Added /obmodel <ObjectID>
Arranged some of the commands files into a folder called 'Commands'.
/enablecmd now only works on commands that exist.
/disablecmd now only works on commands that exist.
/cmdlevel now only works on commands that exist.
/cmdname - You can no longer change a command's name to a command name that already exists.
Added a sensitivity level feature to /moveob
/moveob now freezes you.
Teleport commands now contain less code in their unique functions. (Better coding)
Custom commands now contain less code in their unique functions. (Better coding)
/gotocar now works if you are in a vehicle when you type the command.
/gotoob now works if you are in a vehicle when you type the command.
/gotoactor now works if you are in a vehicle when you type the command.
/gotopickup now works if you are in a vehicle when you type the command.
/gotocp now works if you are in a vehicle when you type the command.
/gotocorona now works if you are in a vehicle when you type the command.
/gotoicon now works if you are in a vehicle when you type the command.
Added /carmodel <VehicleID>
Added /addobrow <ObjectModelID> <Amount> <DistanceApart>
Fixed /remcar, it will no longer crash the server if another player (not the player typing the command) is in the vehicle being removed. (Thanks to Bruno for finding this bug)
/makemeadmin no longer shows up in /cmds
Fixed /online, it is now 100% accurate.
Fixed /warn, if the player being warned has reached their max warnings, it will now kick the player being warned instead of the player who typed /warn. (Thanks to Rico_Simpie and Danish_Mayers for finding this bug)
When changing modes when moving an object, it now echos the object ID that you are moving.
Updated /cmdname - It now sets the new command name's level to the old command name's level.
Updated /cmdname - If the old command name was disabled, it now disables the new command name.
Updated /remtele - It now sets the teleport command's level to 0 and enables the teleport command's name.
Updated /remcmd - It now sets the custom command's level to 0 and enables the custom command's name.
Added a zoom in/out feature to the 'Camera Position' mode in /moveob (Thanks to Bruno for this idea)
/setgrav now works on players who are not spawned.
/follow now synchronizes the player's interior.
Added /followlist
Updated some of the default skin model names. (Thanks to Bruno for doing this)
Updated /givewep - You can no longer give a player an invalid weapon model ID or a non combat weapon model such as 'Collision' and 'Splat'.
You can no longer use /cmds if you are already being echod commands from /cmds or /acmds
You can no longer use /acmds if you are already being echod commands from /cmds or /acmds
If there are no spawn class members, VLE will add a default one. It will be deleted when you add a new spawn class member using /addscm (Thanks to Bruno for finding this)
Added /pickuprespawn <PickupID> instant/<Duration> <PartOfTimeUnit> (Thanks to Danish_Mayers for the idea)
Added /speedo
/execute no longer crashes the server if you specify invalid code. Instead, it PMs you the error message.
/setpos now only works if the player whose location you are setting is spawned.
Updated /incar - It now PMs you an error if the player you are using /incar on is already in the vehicle ID you specify. (Thanks to Bruno for finding the bug associated with this)
/dance no longer crashes the server if you type it whilst in a vehicle.
You can no longer use /setanim on a player who is in a vehicle.
Added plugin support. This allows you to create scripts to work with VLE without actually modifying VLE.
All account PMs you receive when you join the server now work with the PM colour.
Interiors now load in spectate mode. (Thanks to Bruno for finding the bug)
When following a player, you now only get teleported behind the player you are following if you are more than 10 meters away from them. (Thanks to Bruno for the idea)
Added /unkeyall (Thanks to Bruno for the idea)
Added /gunkeyall
Updated /remcar, new syntax: /remcar <VehicleID> [<VehicleID2>] [<VehicleIDStart>-<VehicleIDEnd>] (Thanks to Bruno for the idea)
Added /keyids
Updated /key, new syntax: /key <Key>/#<KeyID> <Command> [<Parameters>]
Updated /unkey, new syntax: /unkey <Key>/#<KeyID>
Updated /gkey, new syntax: /gkey <Key>/#<KeyID> <Command> [<Parameters>]
Updated /gunkey, new syntax: /gunkey <Key>/#<KeyID>
Attempting to add more than 499 vehicles (VCO RC1's limit), will now PM an error instead of messing up the IDs.
Attempting to add more than 1000 objects (VCO RC1's limit), will now PM an error instead of messing up the IDs.
Attempting to add more than 100 actors (VCO RC1's limit), will now PM an error instead of messing up the IDs. (Thanks to Rico_Simpie for finding this bug)
Attempting to add more than 100 pickups (VCO RC1's limit), will now PM an error instead of messing up the IDs.
Attempting to add more than 50 markers (checkpoints/coronas) (VCO RC1's limit), will now PM an error instead of messing up the IDs.
Attempting to add more than 100 icons (VCO RC1's limit), will now PM an error instead of messing up the IDs.
Spawn Classes SHOULD no longer disappear when the server (re)starts.
Spawn Class Members SHOULD no longer disappear when the server (re)starts.
Vehicles SHOULD no longer disappear when the server (re)starts.
Objects SHOULD no longer disappear when the server (re)starts.
Actors SHOULD no longer disappear when the server (re)starts.
Pickups SHOULD no longer disappear when the server (re)starts.
Checkpoints SHOULD no longer disappear when the server (re)starts.
Coronas SHOULD no longer disappear when the server (re)starts.
Icons SHOULD no longer disappear when the server (re)starts.
If you find any bugs please let me know as soon as possible so they can be fixed!