Jump to content

Dimos7

Members
  • Posts

    1,546
  • Joined

  • Last visited

Everything posted by Dimos7

  1. If you have multy character then no use mysql and element data if you not have then yes
  2. If you want have accounts for acl you need addAccount
  3. That it not script relate check object ids and remove them
  4. Yes you can do that it simple all you need to is go to the resource meta and at mods files do that download=false and that it
  5. You mean mods if yes then yes
  6. Why not make it with marker corona close to vehicle and put aplha to 0 and 255 when use it?
  7. exports["scoreboard"]:addScoreboardColumn("ID", root, 20, "ID", 1)
  8. Yes for all vehicle you need it is that https://wiki.multitheftauto.com/wiki/onVehicleExit https://wiki.multitheftauto.com/wiki/onVehicleEnter https://wiki.multitheftauto.com/wiki/setVehicleDamageProof put true when exist and false when you enter
  9. Dimos7

    commands time

    getTickCount All you need it this
  10. function GuessShodan() local adadshansi = math.random(9999,9999) setPlayerName(source , Guess#adadshansi ) end addEventHandler("onPlayerJoin",root , GuessShodan)
  11. Try yourself make a code and if have a issue post it here so we help you we are not your selve make your code
  12. function adminpm ( thePlayer, command, taraf,... ) local message = table.concat ({...}, " ") if not ( isPlayerOnGroup ( thePlayer ) ) then outputChatBox("#ff0000[Error]: #ffffffShoma Dastresi Be In Dastoor Nadarid!", thePlayer, 255, 255, 255, true) return false end if taraf == nil then outputChatBox("#00ff00Bezan: /pm <PartOfName> <Matn>", thePlayer, 255, 255, 255, true) return false end if not findPlayer(taraf) then outputChatBox("#ff0000[Error]: #ffffffPlayer Peyda Nashod!", thePlayer, 255, 255, 255, true) return false end local playerpm = findPlayer(taraf) local nameadmin = getPlayerName( thePlayer ) outputChatBox("#F39C12<< Be " ..taraf.. ": " ..message.. " >>", thePlayer, 255, 255, 255, true) outputChatBox("#F39C12<< [Admin PM] " ..nameadmin.. ": " ..message.. " >>", playerpm, 255, 255, 255, true) end addCommandHandler("pm", adminpm) try that
  13. What do you mean can explane more?
  14. function noOpengui(thePlayer) if isPlayerMuted(thePlayer) then triggerClientEvent(thePlayer, "blockWindow", root) end end function binds() bindKey(KeyToOpen or "F1","down", function () guiSetVisible(panel,false ) showCursor(guiGetVisible(panel)) if guiGetVisible(panel) == true then mode = "no_binds_when_editing" else mode = "allow_binds" end guiSetInputMode(mode or "allow_binds") end end ) addEvent("blockWindow", true) addEventHandler("blockWindow", root, binds)
  15. function checkPlyer(thePlayer) if isPlayerMuted(thePlayer) then triggerClientEvent() end end something like that
  16. Hello there is simple all you need it is https://www.wiki.multitheftauto.com/wiki/GetPlayerFromPartialName https://www.wiki.multitheftauto.com/wiki/kickPlayer and for reason it so for make it you need make a function take admin player target player and reason that all
  17. Character table money not bankmoney
  18. addEventHandler("onResourceStart", resourceRoot, function() resetMapInfo() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) if not isElement(player) then return end repeat until spawnPlayer ( player, 835.6+math.random(1,5), -2081.6000976563+math.random(5,9), 12.59999961853, 180, getPedSkin(player), 0, 0) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 1800, 1, source) end )
  19. you need make the command in server side and trigger a client event
  20. addEventHandler("onPlayerChangeNick", root, function(oldNick, newNick) if string.len(newNick) <= 3 then cancelEvent() end end) try this
  21. no change nick if are less 3 characters ?
×
×
  • Create New...