Jump to content

JR10

Retired Staff
  • Posts

    2,947
  • Joined

  • Last visited

Everything posted by JR10

  1. Useless?? I bet the problem was that he didn't see the message. And that: if source === getLocalPlayer() then return end I never used it, and my client events still worked.
  2. So he's not doing it anymore, you guys are asking for easy things, use the WIKI, try something, and we can help you in the scripting section.
  3. I'm not sure, I'm positive that cancelling this event cancels changing your nick however the method is, /nick command, changing it from settings or using setPlayerName. I have tested it before.
  4. JR10

    if check dont work

    function createAndroMarker(thePlayer) vehicle = getPedOccupiedVehicle(thePlayer) x,y,z = getElementPosition( vehicle ) theMarker = createMarker ( x, y + 5, z, "cylinder", 20.5, 0, 0, 255, 170 ) setTimer ( removeMarker, 7000, 1 ) addEventHandler( "onMarkerHit", theMarker, warpPlayerIntoAndro ) end addCommandHandler("marker", createAndroMarker) function warpPlayerIntoAndro(hitElement, dimensionMatch) outputDebugString("Warp function triggered") if getElementType(hitElement) ~= "player" then return end if isPedInVehicle(hitElement) then removePedFromVehicle(hitElement) end setElementInterior(hitElement, 9, 315.48, 984.13, 1959.11 ) end function removeMarker() destroyElement ( theMarker ) end Try that.
  5. This blocks any change in nick, so he can't even change his nick from settings (as long as he's in the server).
  6. JR10

    if check dont work

    Don't double post. Post where you attach the handler.
  7. scorebysaka aka. dxscoreboard : https://community.multitheftauto.com/index.php?p= ... ls&id=2619
  8. JR10

    if check dont work

    setElementInterior(theColshape, interior)
  9. JR10

    MTA:SA Saving problem

    I'm not sure, but I guess it was already saving, or you click it twice too fast.
  10. Use SQLite browser Here: Download it, and open internal.db with it. SQLite Browser
  11. JR10

    if check dont work

    No problem, I just added checking for hitElement type.
  12. JR10

    if check dont work

    function warpPlayerIntoAndro(hitElement, dimensionMatch) outputDebugString("Warp function triggered") if getElementType( hitElement ) ~= "player" then return end if isPedInVehicle(hitElement) then return end setElementInterior(hitElement, 9, 315.48, 984.13, 1959.11 ) end
  13. There is no place for asking here, post what you did so far, and we will help you.
  14. JR10

    if check dont work

    function warpPlayerIntoAndro(hitElement, dimensionMatch) outputDebugString("Warp function triggered") if getElementType(hitElement) == "player" then setElementInterior(hitElement, 9, 315.48, 984.13, 1959.11 ) end end No need for all this, try that.
  15. This place is not for requests, use the WIKI and try something yourself first.
  16. outputChatBox("No-TbGes|x[Dev-PoinT]x",255,255,0) function stopMinigunDamage( attacker, weapon, bodypart ) if ( weapon == 0 ) then outputChatBox("Dontkill with Fist!!",0,255,0) cancelEvent() end end addEventHandler ( "onClientPlayerDamage", root, stopMinigunDamage)
  17. JR10

    EDF problem

    It's src not scr And wrong directory should be / not \ <meta> <info author="Nonameman" version="0.1" type="gamemode" edf:definition="edf/ncrp.edf" /> <file src="edf/img/office_door_cp.png" /> <script src="authServer.lua" type="server" /> <script src="authClient.lua" type="client" /> <script src="generalServer.lua" type="server" /> <script src="generalClient.lua" type="client" /> </meta>
  18. JR10

    EDF problem

    Show me your meta.xml
×
×
  • Create New...