SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 11/08/2016, 12:27 AM   #1
RIDE2DAY
Huge Clucker
 
RIDE2DAY's Avatar
 
Join Date: Jul 2015
Location: Modena, Italy
Posts: 213
Reputation: 381
Default SetObjectMaterialText Editor

SetObjectMaterialText Editor


[*] Introduction
I created this script in order to ease the creation of SetObjectMaterialText objects, this is its first version, I'll update it in the future to allow the user edit more than one material index. The filterscript doesn't need any include or plugin to be functional, just compile it and voilà. Don't worry about files, it uses SQLite, the database is created automatically in scriptfiles.

The objects you create are visible for everybody, you must log in as a RCON admin to be able to use the /editor command. An object can be edited only by one player at once, but the editor is functional for all the RCON admins. Objects are deleted when the filterscript is unloaded, and created when you load it. If you delete the object from the edition menu, it's deleted from the database also, so you can't recover it later.


[*] Screenshots and videos
Click here to watch how it works (subscribe if you want to follow the development of my gamemode).

This is what you'll get in scriptfiles when you export the objects, they can be exported as global or player objects, it's up to you:



[*] Commands
There is only one command: /editor. I added a /jetpack command for testing purposes, it's disabled by default, remove the /* */ to enable it.


[*] Download
Copy, paste, compile and do ya thang: pastebin.com


[*] Other
Thank you for reading my thread, you can subscribe to my YouTube channel to follow the development of my gamemode, if you want you can support me here.
If you find any bug, please, make me know. I didn't have enough time to test it at 100%.

Best regards.

Last edited by RIDE2DAY; 13/08/2016 at 06:31 PM.
RIDE2DAY is offline   Reply With Quote
Old 11/08/2016, 12:30 AM   #2
WhiteGhost
Guest
 
Posts: n/a
Default Re: SetObjectMaterialText Editor

Thank You,Soooooo Much For This!
  Reply With Quote
Old 11/08/2016, 01:43 PM   #3
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 807
Reputation: 106
Default Re: SetObjectMaterialText Editor

great script good work
__________________
SecretBoss is offline   Reply With Quote
Old 11/08/2016, 02:13 PM   #4
PainNagato
Big Clucker
 
PainNagato's Avatar
 
Join Date: Mar 2016
Posts: 60
Reputation: 21
Default Re: SetObjectMaterialText Editor

Good Job.
__________________
[Include] Ban System
[Map] Infernus VS Rpg
PainNagato is offline   Reply With Quote
Old 11/08/2016, 04:03 PM   #5
Arithmetic
Big Clucker
 
Join Date: Dec 2012
Posts: 59
Reputation: 295
Default Re: SetObjectMaterialText Editor

This was originally mine & irinel1996's script, don't plagarize and say you made it 'cause you changed a line of coding, lol. You're pathetic.
__________________
Arithmetic is offline   Reply With Quote
Old 11/08/2016, 09:11 PM   #6
[DOG]irinel1996
High-roller
 
[DOG]irinel1996's Avatar
 
Join Date: Jan 2010
Posts: 1,469
Reputation: 288
Default Respuesta: Re: SetObjectMaterialText Editor

Quote:
Originally Posted by Strawton View Post
This was originally mine & irinel1996's script, don't plagarize and say you made it 'cause you changed a line of coding, lol. You're pathetic.
It's quiet different than my old editor actually, this one is much better. Did you help me with that old script? I left SA-MP a long time ago, I don't remember very well.
[DOG]irinel1996 is offline   Reply With Quote
Old 15/08/2016, 02:43 AM   #7
XHunterZ
Big Clucker
 
Join Date: Jul 2015
Location: Indian Kottha
Posts: 147
Reputation: 1
Default Re: SetObjectMaterialText Editor

(88 -- 104) : error 075: input line too long (after substitutions)
warning 217: loose indentation
error 017: undefined symbol "CREATE"
: error 017: undefined symbol "TABLE"
error 017: undefined symbol "IF"
: fatal error 107: too many error messages on one line
XHunterZ is offline   Reply With Quote
Old 15/08/2016, 06:29 AM   #8
OTACON
Banned
 
Join Date: Dec 2010
Location: mongolia
Posts: 4,930
Reputation: 569
Default Respuesta: SetObjectMaterialText Editor

interesting, easy to use.

good job.


+9 rep. because I can!

Last edited by OTACON; 15/08/2016 at 01:30 PM.
OTACON is offline   Reply With Quote
Old 20/08/2016, 04:05 PM   #9
MaikelRincon
Huge Clucker
 
MaikelRincon's Avatar
 
Join Date: Aug 2014
Location: Caracas
Posts: 214
Reputation: 10
Default Respuesta: Re: SetObjectMaterialText Editor

Quote:
Originally Posted by XHunterZ View Post
(88 -- 104) : error 075: input line too long (after substitutions)
warning 217: loose indentation
error 017: undefined symbol "CREATE"
: error 017: undefined symbol "TABLE"
error 017: undefined symbol "IF"
: fatal error 107: too many error messages on one line
the same happens to me
MaikelRincon is offline   Reply With Quote
Old 21/08/2016, 08:22 AM   #10
OTACON
Banned
 
Join Date: Dec 2010
Location: mongolia
Posts: 4,930
Reputation: 569
Default Respuesta: Re: SetObjectMaterialText Editor

Quote:
Originally Posted by XHunterZ View Post
(88 -- 104) : error 075: input line too long (after substitutions)
warning 217: loose indentation
error 017: undefined symbol "CREATE"
: error 017: undefined symbol "TABLE"
error 017: undefined symbol "IF"
: fatal error 107: too many error messages on one line
Quote:
Originally Posted by MaikelRincon View Post
the same happens to me

http://uptobox.com/an8scq7mxzlj
http://uptobox.com/qrp5a0lxdbxj
OTACON 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
[Ajuda] SetObjectMaterialText Editor iFaLLeN Português/Portuguese 0 18/06/2014 02:10 AM
Any SetObjectMaterialText editor for 0.3z? SiraBots Scripting Help 6 18/04/2014 03:48 AM


All times are GMT. The time now is 10:40 AM.


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