Jump to content

Erlkonig

Members
  • Posts

    105
  • Joined

  • Last visited

Everything posted by Erlkonig

  1. Hello everyone, I am working on deathmatching project. Please, help me, is it possible to enable glitch (like setGlitchEnable does it) for some personal scenes? Like only for some group which playing together in the one dimension.
  2. He wrote what you should try to change. It's really looks strange what you want to get. As Tekken told you should try to change "local colshape = getElementParent(getElementParent(source))" to " local colshape = getElementParent(source) or "wrong" ". outputChatBox(colshape) for debag. You can use also outputDebugString(colshape).
  3. It does not work this way, you don't have a permission to change player MTA settings. You can use bindKey to call a function. function callingFunction () -- doing something end bindKey( "F1", "down", callingFunction )
  4. texreplace.fx texture gTexture; technique simple { pass P0 { Texture[0] = gTexture; } } client side function() crosshair = dxCreateShader("texreplace.fx") engineApplyShaderToWorldTexture(crosshair, "siteM16") dxSetShaderValue(crosshair, "gTexture", dxCreateTexture('crosshair.png')) end
  5. Then I understood that correctly. Thank you.
  6. What do you want exactly? To change the texture of aim?
  7. Excuse me for asking here but what's means "leaked" scripts? No idea what it can be, on my first language it sounds like "scripts which became from Private use to Public". Thanks for answering.
  8. Erlkonig

    Help

    Please, use "Insert Code" next time. What's the line "bad argument"?
  9. Use setElementData ( theVehicle, "maxVelocity", label) on the serverside script. Use triggerServerEvent for that action.
  10. Наверное уже поздно, но всё же. Либо объяви m1 и все остальные за пределами функции, а уже потом присвой значения (а лучше их массивами вовсе сделать), либо просто запихни addEventHandler("OnMarkerHit".....) в функцию где объявляешь маркеры.
  11. Can you upload "..crosshair/1-3.png" ?
  12. Damn, where did you find editing into another language? Sometime I'm thinking about translating when reading wiki but I didn't find where I can do it.
  13. You can use only server snow resources if they're.
  14. Hello! Is there any legal way to draw the polygon (which was created with createColPolygon) on the radar like gang zone (createRadarArea)?
  15. Did you tried change it? https://wiki.multitheftauto.com/index.php?title=Server_mtaserver.conf#voice_quality
  16. Hello, I have a similar functions which activated when the client clicked on the button. Now Im calling they like different functions. addEventHandler("onClientGUIClick", ctrl[1], setCtrl1, false) addEventHandler("onClientGUIClick", ctrl[2], setCtrl2, false) addEventHandler("onClientGUIClick", ctrl[3], setCtrl3, false) I want to call one function when I push the different buttons addEventHandler("onClientGUIClick", ctrl[1], setCtrl, false) addEventHandler("onClientGUIClick", ctrl[2], setCtrl, false) addEventHandler("onClientGUIClick", ctrl[3], setCtrl, false) But also I want to do this with a different actions in function. Unfortunely, I did not found the way how can I check the button which clicked. Im planing to do something like this: -- This just an example function() if ctrl[1] then --do something elseif ctrl[2] then --do anything elseif ctrl[3] then --do this but it actually looks like previous end end addEventHandler("onClientGUIClick", ctrl[1], setCtrl, false) addEventHandler("onClientGUIClick", ctrl[2], setCtrl, false) addEventHandler("onClientGUIClick", ctrl[3], setCtrl, false)
  17. Sounds good, have that server a test before creating a character?
×
×
  • Create New...