[FilterScript] SetObjectMaterialText Editor
#1

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.
Reply
#2

Thank You,Soooooo Much For This!
Reply
#3

great script good work
Reply
#4

Good Job.
Reply
#5

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.
Reply
#6

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.
Reply
#7

(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
Reply
#8

interesting, easy to use.

good job.


+9 rep. because I can!
Reply
#9

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
Reply
#10

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
Reply
#11

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"
Reply
#12

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.
Reply
#13

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

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.
Reply
#15

When i click something i want to edit nothing happens.
Reply
#16

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

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.
Reply
#18

use incognitos streamer pls
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)