SA-MP Forums Archive
[FilterScript] SetObjectMaterialText Editor - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] SetObjectMaterialText Editor (/showthread.php?tid=614667)



SetObjectMaterialText Editor - RIDE2DAY - 11.08.2016

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.


Re: SetObjectMaterialText Editor - WhiteGhost - 11.08.2016

Thank You,Soooooo Much For This!


Re: SetObjectMaterialText Editor - SecretBoss - 11.08.2016

great script good work


Re: SetObjectMaterialText Editor - PainNagato - 11.08.2016

Good Job.


Re: SetObjectMaterialText Editor - Arithmetic - 11.08.2016

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.


Respuesta: Re: SetObjectMaterialText Editor - [DOG]irinel1996 - 11.08.2016

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.


Re: SetObjectMaterialText Editor - XHunterZ - 15.08.2016

(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


Respuesta: SetObjectMaterialText Editor - OTACON - 15.08.2016

interesting, easy to use.

good job.


+9 rep. because I can!


Respuesta: Re: SetObjectMaterialText Editor - MaikelRincon - 20.08.2016

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


Respuesta: Re: SetObjectMaterialText Editor - OTACON - 21.08.2016

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


Re: SetObjectMaterialText Editor - XHunterZ - 29.08.2016

error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_float"
error 017: undefined symbol "db_get_field_float"
error 017: undefined symbol "db_get_field_float"
: error 017: undefined symbol "db_get_field_float"
error 017: undefined symbol "db_get_field_float"


Re: SetObjectMaterialText Editor - Crayder - 29.08.2016

Quote:
Originally Posted by XHunterZ
Посмотреть сообщение
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_int"
error 017: undefined symbol "db_get_field_float"
error 017: undefined symbol "db_get_field_float"
error 017: undefined symbol "db_get_field_float"
: error 017: undefined symbol "db_get_field_float"
error 017: undefined symbol "db_get_field_float"
Update to the latest version of SA-MP, and the latest includes.


Re: SetObjectMaterialText Editor - XHunterZ - 29.08.2016

Quote:
Originally Posted by Crayder
Посмотреть сообщение
Update to the latest version of SA-MP, and the latest includes.
what include this required?


Re: SetObjectMaterialText Editor - Crayder - 29.08.2016

Quote:
Originally Posted by XHunterZ
Посмотреть сообщение
what include this required?
All of the latest SA-MP includes (a_samp, a_vehicles, etc). Also update your executables.

You're like a year and a half behind dude.


Re: SetObjectMaterialText Editor - Simonotg - 28.09.2016

When i click something i want to edit nothing happens.


Respuesta: SetObjectMaterialText Editor - OTACON - 27.03.2017

Add an option for activate / deactivate the background (transparent / color)


Re: SetObjectMaterialText Editor - Ndun - 06.07.2018

C:\Users\MTR\Desktop\CGRP\filterscripts\objectmate rialtext.pwn(87 -- 105) : error 075: input line too long (after substitutions)
C:\Users\MTR\Desktop\CGRP\filterscripts\objectmate rialtext.pwn(106) : warning 217: loose indentation
C:\Users\MTR\Desktop\CGRP\filterscripts\objectmate rialtext.pwn(106) : error 017: undefined symbol "CREATE"
C:\Users\MTR\Desktop\CGRP\filterscripts\objectmate rialtext.pwn(106) : error 017: undefined symbol "TABLE"
C:\Users\MTR\Desktop\CGRP\filterscripts\objectmate rialtext.pwn(106) : error 017: undefined symbol "IF"
C:\Users\MTR\Desktop\CGRP\filterscripts\objectmate rialtext.pwn(106) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

How to fix please help me.


Re: SetObjectMaterialText Editor - rorrobryan - 30.08.2018

use incognitos streamer pls