-
Posts
8 -
Joined
-
Last visited
Posts posted by sevenlwo
-
-
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
endaddEventHandler( "onElementClicked", getRootElement( ), AdminCarRemoval )
-
On 01/09/2019 at 06:38, MR-HERO said:
View the server file..
What server file?
-
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
-
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? -
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
- 1
-
I need help to do an script that makes any car ID turn up and down the lights like the ZR350 does, but i dont know how the :O do it, pls someone help me with this.
-
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.
Help me please
in Resources
Posted
Hey, thanks for reply
I tried registry.db and other database files, and put new one (and clean ones), and it reseted as well, thanks for the help!