SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 15/05/2013, 11:51 PM   #1
zDivine
Huge Clucker
 
Join Date: Oct 2012
Location: zDivine.pwn
Posts: 302
Reputation: 49
Default [0.3.7] zDivines Dynamic Object System [zObjects]

zDivines Dynamic Object System [zObjects]

Script Release: 20130515 (YYYYMMDD)
Current Script Version: 1.4


Features:
  • Fully dynamic object creation, deletion, and saving/loading.
  • Authorization system, allowing only authorized users to use zObjects.
  • Ability to set objects movable or not.
  • Dynamic return interval for movable objects.
  • Uses the new object editor.
  • Ability to set a password on objects. (If no password is set, the object will move by simply typing the command, otherwise it will prompt for a password upon typing the command.)

Commands:
  • /login [password] - Login to zObjects to use the commands.
  • /createobject [modelid] - Creates an object with the specified model ID.
  • /destroyobject [objectid] - Destroys the specified object.
  • /editobject [objectid] [option] [value(optional)] - Object editing command with various options.
    Options: Model, Movable(0 = no / 1 = yes), Speed, Range, AutoMove, Pos, PosM, ReturnTime
  • /objectpass [password] - Sets a password for the object when moving it.
  • /objectnear - Sends you a list of objects within 30 meters of you.
  • /moveobject - Moves the object if moveable (Prompts for password if object is passworded.)
  • /authorize [playerid] - Authorizes a player to use zObjects.
  • /deauthorize [playerid] - Deauthorizes a player to use zObjects.
    * New in version 1.4 *
  • /gotoobject [objectid] - Allows you to teleport to any dynamic object.

Required Includes:
  • ZCMD - Credits to Zeex
  • Sscanf2 - Credits to Y_Less
  • Streamer - Credits to Incognito

Installation:
  1. Move "zObjects.amx" to your filterscripts folder.
  2. Create a file named "zobjects.cfg" and move it to your scriptfiles folder.
  3. Add "zObjects" to your filterscripts line in your server.cfg.
  4. Make sure you have zcmd, streamer, and sscanf plugins on your plugins line.
  5. Restart your server, and ENJOY!
  6. DO NOT FORGET TO CHANGE 'ZOBJECTS_PASS' TO WHAT YOU WANT THE PASSWORD TO BE FOR LOGGING IN.

Changelog:

v1.0:
  • Initial release
v1.1:
  • Fixed a bug where the object wouldn't move if a pass wasn't set.
  • Fixed a bug where the object wouldn't move if you tried to manually move it from it's moved location and it
    wasn't within the radius of the original position.
  • Fixed a bug where /login ignored password casing.
  • Fixed a grammatical error where the range said you updated your speed.
  • Fixed some other minor grammatical errors.
v1.2
  • Fixed a bug where edited objects didn't move for all players.
  • Changed the permissions for RCON and authorized users.
v1.3
  • Fixed a bug where edited objects weren't saving correctly in different virtual worlds and interiors.
  • Tweaked the /login command, preventing multiple logins from the same user.
v1.4
  • Added the ability to copy an object using /editobject [id] copy.
  • Added the command /gotoobject to teleport to any dynamic object.

Contact:
  • Skype: mercenary.usa
  • SA-MP: PM


Download:
Attached Files
File Type: pwn zObjects.pwn (27.1 KB, 515 views)
File Type: pwn zObjects1.1.pwn (27.8 KB, 4 views)
File Type: pwn zObjects1.2.pwn (28.7 KB, 2 views)
File Type: pwn zObjects1.3.pwn (29.3 KB, 4 views)
File Type: pwn zObjects1.4.pwn (32.1 KB, 185 views)

Last edited by zDivine; 18/08/2015 at 07:26 PM.
zDivine is offline   Reply With Quote
Old 16/05/2013, 12:06 AM   #2
Guest123
Huge Clucker
 
Guest123's Avatar
 
Join Date: Mar 2013
Location: Malaysia
Posts: 320
Reputation: 3
Default Re: [0.3x] zDivines Dynamic Object System [zObjects]

nice one
__________________
..
Guest123 is offline   Reply With Quote
Old 17/05/2013, 06:31 PM   #3
zDivine
Huge Clucker
 
Join Date: Oct 2012
Location: zDivine.pwn
Posts: 302
Reputation: 49
Default Re: [0.3x] zDivines Dynamic Object System [zObjects]

If anyone has any suggestions for this script, please feel free to let me know.
zDivine is offline   Reply With Quote
Old 17/05/2013, 06:35 PM   #4
RajatPawar
High-roller
 
RajatPawar's Avatar
 
Join Date: Aug 2011
Location: ヽ༼ຈل͜ຈ༽ノ
Posts: 2,302
Reputation: 311
Default Re: [0.3x] zDivines Dynamic Object System [zObjects]

Does it update the new position after editing the object for all players?
RajatPawar is offline   Reply With Quote
Old 17/05/2013, 06:39 PM   #5
zDivine
Huge Clucker
 
Join Date: Oct 2012
Location: zDivine.pwn
Posts: 302
Reputation: 49
Default Re: [0.3x] zDivines Dynamic Object System [zObjects]

Quote:
Originally Posted by Rajat_Pawar View Post
Does it update the new position after editing the object for all players?
Yes, already tested that.
zDivine is offline   Reply With Quote
Old 17/05/2013, 06:54 PM   #6
Niko_boy
High-roller
 
Niko_boy's Avatar
 
Join Date: Aug 2010
Location: Somewhere i belong
Posts: 1,435
Reputation: 138
Default Re: [0.3x] zDivines Dynamic Object System [zObjects]

nice script, though there exists many like object editor scripts..
i liked the idea of password on object xD

Nice signature btw ;o [ idk just look good ], a no TIPped pyramid
nvm goodwork keep it up!
__________________
$$$ If anyone NEED A SCRIPTER for:
  • DM/TDM/Freeroam/Stunt server, filterscripts or Bug fixing.or some general mapping. Above all any of the logos and banners or signature sorta stuff aswell.At some cheap and worth-full prices.
can Contact me for more info or a deal.
•••[CLOSED]LCS•Freeroam•DM•Stunts•••AutoArena [0.3z][No SkinShot][sixtytiger.com]Want a decent Attack Defend Gamemode?
N/A176.31.229.148:7830Get This! Attack-Defend(v2.3.1)
Niko_boy is offline   Reply With Quote
Old 19/05/2013, 05:49 AM   #7
TheChimpJr
Banned
 
Join Date: Nov 2012
Posts: 808
Reputation: 66
Default Re: [0.3x] zDivines Dynamic Object System [zObjects]

Good work eat some rep!
TheChimpJr is offline   Reply With Quote
Old 02/11/2013, 10:43 AM   #8
Atak
Little Clucker
 
Atak's Avatar
 
Join Date: Sep 2013
Location: Turkey
Posts: 17
Reputation: 0
Default Re: [0.3x] zDivines Dynamic Object System [zObjects]

Erorrs..
Atak is offline   Reply With Quote
Old 04/01/2014, 12:50 PM   #9
filip35
Banned
 
Join Date: Dec 2013
Posts: 6
Reputation: 0
Default Re: [0.3x] zDivines Dynamic Object System [zObjects]

In pwn file when i am going to edit password it says this: C:\Users\Filip\Downloads\zObjects.pwn(15) : fatal error 100: cannot read from file: "sscanf"

What to do?

Please help me.
filip35 is offline   Reply With Quote
Old 20/07/2014, 07:35 PM   #10
Basharalqaissi
Little Clucker
 
Join Date: Feb 2012
Posts: 5
Reputation: 0
Default Re: [0.3x] zDivines Dynamic Object System [zObjects]

I have a problem my objects lose there editing when I logout or restart the server, like they lose their pos edit.
Basharalqaissi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Dynamic Object Edit-Save-Load-Delete system. Roel Filterscripts 35 29/08/2017 01:17 PM
Get The Closest Dynamic Object? Tommy_Mandaz Scripting Help 19 02/01/2015 03:22 PM
[FilterScript] [0.3x] zDivines Wheel Rotator [Unique] zDivine Filterscripts 6 17/05/2013 06:08 AM
[FilterScript] [0.3x] zDivines Dynamic Teleport System [zTeleports] zDivine Filterscripts 6 08/05/2013 07:03 PM
Dynamic Object Loading sant Help Archive 2 01/01/2010 11:55 AM


All times are GMT. The time now is 04:52 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.