-
Posts
1,546 -
Joined
-
Last visited
Everything posted by Dimos7
-
If you have multy character then no use mysql and element data if you not have then yes
-
If you want have accounts for acl you need addAccount
-
That it not script relate check object ids and remove them
-
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
-
You mean mods if yes then yes
-
Why not make it with marker corona close to vehicle and put aplha to 0 and 255 when use it?
-
exports["scoreboard"]:addScoreboardColumn("ID", root, 20, "ID", 1)
-
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
-
getTickCount All you need it this
-
function GuessShodan() local adadshansi = math.random(9999,9999) setPlayerName(source , Guess#adadshansi ) end addEventHandler("onPlayerJoin",root , GuessShodan)
-
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
-
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
-
What do you mean can explane more?
-
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)
-
function checkPlyer(thePlayer) if isPlayerMuted(thePlayer) then triggerClientEvent() end end something like that
-
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
-
Character table money not bankmoney
-
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 )
-
you need make the command in server side and trigger a client event
-
addEventHandler("onPlayerChangeNick", root, function(oldNick, newNick) if string.len(newNick) <= 3 then cancelEvent() end end) try this
-
no change nick if are less 3 characters ?
