SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 12/08/2017, 09:23 PM   #1
mongi
Big Clucker
 
Join Date: Jun 2015
Location: Earth
Posts: 114
Reputation: 11
Default Dynamic Object System

So I've been scripting for my own game mode and I wanted to make this so I and my mappers will be able to add some stuff InGame easly, So yeah, Why don't i share it for everyone? So it will store the coordinates of the object in a .ini file, And store some information. You will be able to know who created the object and when (DD/MM/YYYY) and if the object is edited (Pos.) You will be able to know who edited it.
So when I was a beginer at Pawn, I thought it will be a hard work but it was an easy one. I hope that some new guys will be able to learn from this and even improve it.
Finaly, Please keep the credits. If you spotted a bug or have a suggestion, Explain it in a reply here or just PM me. I'll work on it. Till now I didn't find any bug.

Don't forget to rep. !! Thank you!

Commands:
  • /createobject - To add a new object
  • /delobject - To remove an object
  • /editobject - To edit an object (Pos)
  • /gotoobject - To TP To an object
  • /objectinfo - To check the object's information.
  • /oused- To check the objects used.
Youtube Video
Click Me
Pss I suck at creating/editing videos.

How To Install?
You need few includes:After adding these includes to your "Pawno\includes" folder, Simply add this FilterScript to your folder and server settingsAnd the final step is to create a folder with "ObjectsFile" as a name in your "scriptfiles" folder. Where the objects will be stored.

Credits
  • SA-MP Team - a_samp.inc
  • Y_Less and Emmet_ - Sscanf2.inc
  • ZeeX - Zcmd.inc
  • DracoBlue - Dini.inc

Note: If you add this to your server as a FilterScript restarting the server using gmx won't re-create the created objects, You have to add it to your game mode to fix this.
__________________
______________________________________________

Scripting/Programing for cash. PM for more info.

______________________________________________
[Filterscript]Role Play Gates
[Filterscript]Dynamic Object System
[Tool]Server Control Panel
[Tool]Server Control Panel Version 2

Last edited by mongi; 13/08/2017 at 12:17 PM.
mongi is offline   Reply With Quote
Old 12/08/2017, 10:22 PM   #2
HoussemGaming
Banned
 
Join Date: Jun 2017
Location: France
Posts: 206
Reputation: 10
Default Re: Dynamic Object System

Nice one my friend, keep it up, REPPED
HoussemGaming is offline   Reply With Quote
Old 12/08/2017, 11:56 PM   #3
cuber
Huge Clucker
 
cuber's Avatar
 
Join Date: Oct 2016
Location: Establishing connection...
Posts: 463
Reputation: 45
Default Re: Dynamic Object System

I'd recommend you adding a pastebin link.
cuber is offline   Reply With Quote
Old 13/08/2017, 01:51 AM   #4
mongi
Big Clucker
 
Join Date: Jun 2015
Location: Earth
Posts: 114
Reputation: 11
Default Re: Dynamic Object System

Quote:
Originally Posted by cuber View Post
I'd recommend you adding a pastebin link.
Here you go, Link added to the topic.
Click
__________________
______________________________________________

Scripting/Programing for cash. PM for more info.

______________________________________________
[Filterscript]Role Play Gates
[Filterscript]Dynamic Object System
[Tool]Server Control Panel
[Tool]Server Control Panel Version 2
mongi is offline   Reply With Quote
Old 13/08/2017, 01:58 AM   #5
MarkNelson
Huge Clucker
 
MarkNelson's Avatar
 
Join Date: Feb 2016
Location: Tunisia
Posts: 354
Reputation: 25
Default Re: Dynamic Object System

Nice work bro ^^, GOOD JOB! i loved it xD.
take this REP as small gift from me.
you must remember that we live in the same city xD IRL FRIEND lol
GOOD JOB
__________________
NEW SERVER IN TOWN!


MarkNelson is offline   Reply With Quote
Old 13/08/2017, 02:12 AM   #6
Eoussama
High-roller
 
Eoussama's Avatar
 
Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,075
Reputation: 149
Default Re: Dynamic Object System

Pretty neat, keep up the good work!
__________________
Eoussama is offline   Reply With Quote
Old 13/08/2017, 02:22 AM   #7
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 406
Reputation: 48
Default Re: Dynamic Object System

why Dini?
__________________
quit
Dice_ is offline   Reply With Quote
Old 13/08/2017, 02:23 AM   #8
TommyB
Beta Tester
 
TommyB's Avatar
 
Join Date: Sep 2010
Location: Texas, USA.
Posts: 118
Reputation: 104
Default Re: Dynamic Object System

This is plagued with awful design choices and practices. Making one file per object is incredibly silly when you can store all of the information you need in a single file.
__________________
TommyB is offline   Reply With Quote
Old 13/08/2017, 02:25 AM   #9
mongi
Big Clucker
 
Join Date: Jun 2015
Location: Earth
Posts: 114
Reputation: 11
Default Re: Dynamic Object System

Quote:
Originally Posted by Dice_ View Post
why Dini?
I'm not that good at Sql yet, Will be edited whenever I can work with Sql.


Quote:
Originally Posted by TommyB View Post
This is plagued with awful design choices and practices. Making one file per object is incredibly silly when you can store all of the information you need in a single file.
I used this way because it's kinda easier, Even the user will be able to understand the files (And edit them manually if he want)
Anyway I'll work on it as onefile.
__________________
______________________________________________

Scripting/Programing for cash. PM for more info.

______________________________________________
[Filterscript]Role Play Gates
[Filterscript]Dynamic Object System
[Tool]Server Control Panel
[Tool]Server Control Panel Version 2
mongi is offline   Reply With Quote
Old 13/08/2017, 03:49 AM   #10
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,306
Reputation: 1164
Default Re: Dynamic Object System

This is more primitive than the first map editors that came out for SA-MP were. Now I can see at least you made a good effort to the best of your ability. I still have to give it 1-star this isn't really much of a release of any value to anyone but yourself. If you learn anything here it is that it isn't a good idea to release your experiments but learn from them then create something that is actually polished.
Pottus 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 02:17 PM
[FilterScript] Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 Sayros Filterscripts 15 30/12/2016 02:17 AM
[FilterScript] [0.3x] zDivines Dynamic Object System [zObjects] zDivine Filterscripts 18 24/12/2015 06:09 PM
Dynamic door object system Sellize Screenshots and Videos 29 12/09/2015 12:51 PM
[FilterScript] DWS - Dynamic Weapon System (Gun object, Saving system,...More) JusstinRoller Filterscripts 15 31/07/2013 11:02 AM


All times are GMT. The time now is 08:56 PM.


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