Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


  Show Posts
Pages: [1]
1  Scripting / Script Help / Spheres error on: December 17, 2012, 02:41:51 pm
So I wanted to create a command usable only when the player was standing on a determined sphere. I tried this:
Code: [Select]
function onPlayerCommand( player, cmd, text )
{
if ( cmd == "buy" )
{
if ( ( player.Pos == sphere.Pos ) && ( sphere.ID == 0 ) )
{
Message( "Success!" );
}

else Message( "Error! Not on sphere!" );
}
        return 1;
}
Wherever I use the command, it gives me an "getVarInfo: Could not retrieve UserData" error in this line:
Code: [Select]
if ( ( player.Pos == sphere.Pos ) && (sphere.ID == 0 ) )If anyone could help, it would be greatly appreciated.  :)
2  Servers / Advertise your server! / boredmansland on: November 28, 2012, 10:36:02 pm
lolmortuary!:D STAFF TEAM PRESENTS
boredmansland
In this new build-mode server, players spawn objects on the map with the command /ob [ID]. ID ranges from 200 to 3146. Then, movement and rotation binds can be triggered with the commands /obmov and /obrot. Binds are disposed in a WASD fashion, with the keys IJKL, plus U and O (up and down). Lastly, the object can be saved or removed with /obsav or /obrem.
Promotional video
Liberty Unleashed Build-Mode Server

The first zone was created by me in about one hour time. The other ones were created in a few minutes by me and Svenko; building is easy, quick and fun once you get the hang of it.
Server is still in development so expect more information soon!
Pages: [1]
© Liberty Unleashed Team.