Jump to content

golanu21

Members
  • Posts

    650
  • Joined

  • Last visited

Everything posted by golanu21

  1. golanu21

    help

    not work, errors not exist
  2. golanu21

    help

    function createped (player, modelid, x1, y1, z1) if modelid and x1 and y1 and z1 then ped1 = createPed ( modelid, x1, y1, z1) setPedFrozen ( ped1, true) else outputChatBox("[invalid Syntax]: /createped [modelid] [x] [y] [z]", player, 255, 0, 0 ) end end addCommandHandler("createped", createped)
  3. I make a teleport system in game, You can make in game markers to teleport Special Thanx : "DNL291" and "Axel" Download : https://community.multitheftauto.com/ind ... ls&id=6647
  4. golanu21

    help

    [10:52:51] WARNING: check\server.lua:20: Bad argument @ 'setElementPosition' [Expected number at argument 2, got nil]
  5. golanu21

    help

    how i make when i enter in marker1 to teleport me to marker2 ? ??
  6. golanu21

    help

    function crmarker (player, cmd, x1, x2, x3 ) local x, y, z = getLocalPlayer (player) if cmd == "createmarker" then x1 = tonumber( x1 ) x2 = tonumber( x2 ) x3 = tonumber( x3 ) if x1 then if x2 then if x3 then marker1 = createMarker ( x, y, z, "cylinder", 255, 0, 0 ) marker2 = createMarker ( x1, x2, x3, "cylinder", 255, 0, 0 ) else outputChatBox ("[invalid Syntax]: /crmarker [x1], [x2], [x3] ", player, 255, 0, 0 ) end end end end end addCommandHandler("createmarker", crmarker)
  7. instead of vehicle, put annother, for the example : theVehicle
  8. i want to make this : When the police shoot the player with wantedlevel > 0, the player to follow automatly the police
  9. golanu21

    i need help

    outputChatBox ( "> replacing billboards" ) txd_floors = engineLoadTXD ( "bb.txd" ) engineImportTXD ( txd_floors, 9188 ) the model is original,
  10. is not dificult!!!, it's easy!! , thanx
  11. OGF@: like replacing billboards? adding your own? Yeas
  12. golanu21

    i need help

    i want to make ads on the wall of san andreas..how i make that : Exxample : SAUR GAMING
  13. golanu21

    Help

    sorry i know, this place is for scripting but i want to know, i can create object with map editor in diferent dimension ?
  14. golanu21

    help again

    wtf .. i pput it in server side, but his took my money and then give me this error [13:27:05] WARNING: Gamemode\fixveh.lua:9: Bad argument @ 'fixVehicle'
  15. golanu21

    help again

    when is need to put : server side or client side ?
  16. golanu21

    help again

    Try again i've fix it no, is not working
  17. golanu21

    help again

    not work... the marker is created but when i hit it , nothing
  18. golanu21

    help again

    local x, y, z = 1361.099609375, -1658.7998046875, 12.39999961853 fixmark = createMarker ( x, y, z, "cylinder", 3, 0, 255, 0, 255 ) function fixveh ( thePlayer ) local theVehicle = getPedOccupiedVehicle (thePlayer) money = getPlayerMoney ( thePlayer ) if (money) > 4999 then fixVehicle ( theVehicle ) takePlayerMoney ( thePlayer, 5000 ) end end addEventHandler ( "onMarkerHit", fixmark, fixveh ) not work. no errors .. nothing
  19. golanu21

    help

    thanx guys, you are cool
  20. "Everyone"> "Default"> "user.*"> "resource.*">
  21. golanu21

    help

    function giveMoney(thePlayer) local vehicle = getPedOccupiedVehicle (thePlayer) local id = getElementModel(vehicle) if id == 431 or 437 then local gpm = getElementData(thePlayer, "buszp") if ((gpm) > 0 ) then givePlayerMoney(thePlayer, tonumber(gpm)) outputChatBox("Ai castigat " .. gpm .. "$", thePlayer, 0, 140, 240) setElementData(thePlayer, "buszp", 0) end end end addEventHandler("onVehicleExit", rootElement, giveMoney) addEventHandler("onPlayerQuit", rootElement, giveMoney) [12:45:09] WARNING: Gamemode\busjob\busjob.lua:3: Bad argument @ 'getElementModel' [Expected element at argument 1, got boolean] Ai fost angajat ca Bus Driver!
  22. golanu21

    Movable Images

    With dx functions
  23. And, how you make to move in circle ???
  24. golanu21

    i need help

    how i make the movable text??.. SAUR . LoginSystem for example
×
×
  • Create New...