dragonofdark Posted December 6, 2010 Posted December 6, 2010 Hello, I want to add some modifications for "Interiors" resource. So could you tell me how to : - Change the marker ? I saw on Valhalla that the markers are more small and white. - When we touch the markers, we need to push on "i.e. : Return" to enter in interior. ? - Enter in interior (i.e.: A garage) with a vehicule ? I have also a problem when i place the marquers with the Map Editor... I can't see the marquers on it. Well, Thanks a lot in advance, dragonofdark
Castillo Posted December 7, 2010 Posted December 7, 2010 you gotta edit "interiors" resource to make that, i recommend to start learning how to script. https://wiki.multitheftauto.com/wiki/Scripting_Introduction
dragonofdark Posted December 7, 2010 Author Posted December 7, 2010 Well, I learn to script from some weeks but I can't find how to let my vehicle enter in interior...
dragonofdark Posted December 11, 2010 Author Posted December 11, 2010 Hm... I'm trying to modify the resource and i have changed this : function colshapeHit( player, matchingDimension ) if getElementType ( player ) ~= "player" then return end if player ~= localPlayer then return end if ( not matchingDimension ) or ( doesPedHaveJetPack ( player ) ) or ( getControlState ( "aim_weapon" ) ) or ( blockPlayer ) then return end local interior = interiorFromCol[source] local id = getElementData ( interior, idLoc[getElementType(interior)] ) local resource = resourceFromInterior[interior] eventCanceled = triggerEvent ( "onClientInteriorHit", interior ) if ( eventCanceled ) then triggerServerEvent ( "doTriggerServerEvents", localPlayer, interior, getResourceName(resource), id ) end end Now when I pass with a vehicle that do like if I enter in interior but I respawn to the marker That don't do that without vehicle... ________ For the modification of the marker, I think I have find the lines but I son't know how to change them... There aren't any ID. local marker1 = createMarker ( retX, retY, retZ + 2.2, "arrow", 2, 255, 255, 0, 200 ) In the Map Editor, I search the object "arrow" but this one is white like in Valhalla. ID : 1318
Thehookerkiller01 Posted December 15, 2010 Posted December 15, 2010 you gotta edit "interiors" resource to make that, i recommend to start learning how to script.https://wiki.multitheftauto.com/wiki/Scripting_Introduction Woah, never knew that that page did exist.
dzek (varez) Posted December 15, 2010 Posted December 15, 2010 tbh i didnt know about it eighter i was looking through functions list and was looking into another scripts
dragonofdark Posted December 20, 2010 Author Posted December 20, 2010 Nothing can help me to find how ? I really need this on my server
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now