[FilterScript] 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:
    border=0


    [*] 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.

  • Quote:

    Originally Posted by Strawton

    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.

  • (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 XHunterZ

    (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

  • Quote:

    Originally Posted by XHunterZ

    (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

    the same happens to me

    http://uptobox.com/an8scq7mxzlj
    http://uptobox.com/qrp5a0lxdbxj

  • 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

  • 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.

  • 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.

  • 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.