-
Posts
877 -
Joined
-
Last visited
Everything posted by denny199
-
well done the only thing that anoying is the big names, who's stunting
-
attachElements ( speakerobject, car, xoffset, yoffset, zoffset ) -- the xyz offset is where the speaker will be attached, so change the xyz offset. So, 0 , 0, 0 = in the middle off the car and 0, 0, 6 = In the middle off the car but then the object is higher attached, and so one... just changes the xyz offset what I sayd before. btw, here's one that I maded in a GUI, I don't give it away I'm now busy with my next version to attach speakers, almost done. But that doesn't matter
-
How to make something happen when you are at a height
denny199 replied to Greenie0101's topic in Scripting
your'e welcome -
you can use objects, that is attaching on the player, but it would make it unreal since the player is moving with the rotation, so you can better make the object in a arena... and then move it up, and btw, edit the txd's off the objects for more reality
-
How to make something happen when you are at a height
denny199 replied to Greenie0101's topic in Scripting
Do you mean this?: https://wiki.multitheftauto.com/wiki/IsPlayerOnGround or this: https://wiki.multitheftauto.com/wiki/GetGroundPosition ? -
... This is only client, so, you are the only who is hearing it. function attach() pl = getLocalPlayer() -- get the local player if isPedInVehicle ( pl ) then -- if it's in a vehicle car = getPedOccupiedVehicle (pl) -- get the player's car sound = playSound3D ( "lol.mp3", 0, 0, 0 ) -- creating the sound speakerobject = createObject ( id , 0 ,0 ,0 ) -- You need to input the id on yourself, 0,0,0 = x,y,z attachElements ( speakerobject, car, xoffset, yoffset, zoffset ) -- attach the speaker on the car, the xyz offset is where the speaker will be attached, so change the xyz offset. attachElements ( sound, speakerobject ) -- attaching the sound to the object. end end addCommandHandler ( "attachmeup", attach ) Btw, I maded something like this too but then in a gui and while it's visible to evryone.
-
as Solidsnake14 sayd, it can't but you can import them. like: you are hitting a marker in that arena, the objects are importing, ur'e leaving the marker, the imported objects are unloaded , but it's still importing for all the objects....
-
What albers sayd, moving an object is usseles, you can attach an sound element on x,y,z location like this: attachElement ( mySound, car, -1, 0, 0 )
-
Wow, this looks fimiliar to me..... Your'e a thief...
-
I looked @ editor resource for you and i found this: you should look in editor_main>client>main This isn't complete I know I had no time because I need to go function updateArrowMarker( element ) if not g_arrowMarker then return end local element = element or g_selectedElement if not element then return end local radius = edf.edfGetElementRadius(element) or 1 local offsetZ = radius + 1 local markerSize = math.max(g_arrowMarkerMinSize,g_arrowMarkerSizeRatio*radius) if isElementAttached(g_arrowMarker) then detachElements(g_arrowMarker, getElementAttachedTo(g_arrowMarker)) end setMarkerSize(g_arrowMarker, markerSize) attachElements(g_arrowMarker, element, 0, 0, offsetZ) showGridlines ( element ) end function createArrowMarker( handle ) if not handle or not isElement(handle) then return end if g_arrowMarker then destroyElement(g_arrowMarker) end g_arrowMarker = createMarker(0, 0, 0, "arrow", .5, 255, 255, 0, 255) setElementDimension(g_arrowMarker, getWorkingDimension()) updateArrowMarker( handle ) end you should look in editor_main>client>main
-
hahahahahah 20$ for that? xDXD NO WAY. You can search on the communty https://community.multitheftauto.com/ind ... ls&id=4041 maybe is that something for you... you can just edit it.
-
zonder spatie bij de eerste tussenhaakjes [ img ]
-
Sorry voor de ehm 'late' reactie ik speel nu freeroam op me eigen server, DenR en ik Race,DM ook op me eigen server [ logis ] en soms DD met me kameraden *edit: zal me leuk lijken om een keer samen te game.
-
ik helaas niet meer, vroeger in mta deatmatch 1.0 [ de versie na race] Zat ik altijd in pcp Goeie tijden
-
I don't wanna say much, but it's your'e own risk. when ur'e getting offered a free host, first chek evryting. Exmample: Ur'e got a sweetroll, Ur'e giving the sweetroll to an hobo. the hobo is trusting you, cause he need food. After a while he won the lotery, [ the hobo ] You: Hmm, money it's mine. Hobo: Darnit.. think good before ur'e getting a free hoster.
-
what does /debugscript 3 says?, is mapmanager running?
-
Yes, i already found it out when i was testing without health and it worked. ;p i will do it tommorow but anyway thanks
-
No, i fixed it but I need to remove it with my hand =.=, i know why it's there, i used the kwksnd total destruction when building but then i think that the objects where destroying, but i can't start it included the script, anyways, i will remove it with my hand ;p
-
Oh, ik?
-
Klopt , of we hebben geen tijd omdat wij nederlanders altijd porno kijken 24/7
-
uhu Edited by klein_Padje ^^
-
Dunno
-
I vinked that on, but i got to runtime errors c++ errors, evry1 has in my server sometimes
-
Hey, our server got 18 mods but sometimes we got crashes, or mta:sa doesn't react anymore, you need sometimes stop it with taskamanager, can somebody tell me what to do?
-
you should read the wiki better and look right abover: Client-only function what u sayd: What wrong? Script is on on server,but dont working
