Jump to content

sevenlwo

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by sevenlwo

  1. Ok, i have this script, but i want him to work with specific vehicle Id's, how this line would work to say to the script that i want it works only with the specified cars?

    function AdminCarRemoval ( button, state, player ) 
        if ( button == "left" and state == "down" ) then
            if ( isElement(source) ) and ( getElementType(source) == "vehicle" ) then 
                if ( isGuestAccount(getPlayerAccount(player)) ) then return end
                if ( aclGetGroup ( "Admin" ) ) and ( isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(player)), aclGetGroup ( "Admin" ) ) ) then
                    destroyElement (source)
                    outputChatBox('Successfully destroyed the vehicle.',player,255,255,0,true)
                end
            end
        end
    end

    addEventHandler( "onElementClicked", getRootElement( ), AdminCarRemoval ) 

  2. Hello

    I have a house-system, ok, but i wanted to reset all houses created with the script, so i just deleted the resources, deleted caches and unloaded it from my server, then, i re-uploaded it on the resources, and when i started... ALL HOUSES WERE STILL THERE

    Please, if someone knows what i have to do, reply me, thanks.

    Just now, sevenlwo said:

    Hello

    I have a house-system, ok, but i wanted to reset all houses created with the script, so i just deleted the resources, deleted caches and unloaded it from my server, then, i re-uploaded it on the resources, and when i started... ALL HOUSES WERE STILL THERE

    Please, if someone knows what i have to do, reply me, thanks.

    help

    freeroam

  3. Hello, i'm trying to create a checkbox to enable and disable the ghost-mode on my F1(freeroam) panel on MTA server, but actually i dont know how to do it.
    someone can help me?

  4. Just now, Tut said:

    Pop-up headlamps are hardcoded for only certain car(s). from my understanding you can't edit this outside SAMP/SP. you'll have to supply a script for animating the light component for other vehicle IDs. @sevenlwo

    Now i know that is possible to do this without any script, just take the car-mods that i want to put the pop-up the headlamps and edit on zmodeler, the option boot_ok to open lights in place of the hood, but i still dont know how do this lol

    • Like 1
  5. Hello

    Pls, someone help me to do an script to attach the "up-down lights" function from car "zr350" to any other ID, i really dont know how to do this, and i've searched for all internet for this, just want to know how to do lights up and down at any vehicle ID.

×
×
  • Create New...