-
Posts
1,390 -
Joined
-
Last visited
-
Days Won
1
Everything posted by HunT
-
Certo che si puo fare. Pero ho bisogno di informazioni: id camion id rimorchio
-
But map info 6$? u are crazy? I can make this in 5 min. With more info and for free Anyway good luck.
-
U cant stop the votemanager in race. But u can edit or disable all commands and delete the help.xml in the votemanager. Don't forget remove the help.xml in the meta.xml (votemanager)
-
Check the meta.xml in u gamemode and remove include resource.
-
i no need download Anyway : Server Side exports.scoreboard:addScoreboardColumn('Rank',getRootElement(),1,40,'Rank') function scoreLevel () local account = getPlayerAccount(source) local level = getAccountData(account, "rank") local nameimage = "level" if isGuestAccount ( account ) then setElementData(source, "Rank",":ProRank\\Ranks\\level0.png") else setElementData(source, "Rank", tostring(":ProRank\\Ranks\\"..nameimage..level..".png" )) end end addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()),function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","Rank", getRootElement(), 1, 40) end ) my rank resource name is "ProRank" and folder with images "Ranks" = (":ProRank\\Ranks\\"..nameimage..level..".png" )) if u want use other name of folder dont forget edit the patch ---------------------------------------------------------------------- dxscoreboard_client.lua after : xPos = xPos + textLength (string 692) elseif column.name == "Rank" then dxDrawImage( topX+theX, y-s(0.5), 30, 30, content, 0, 0, 0, cWhite, drawOverGUI )
-
Vedi nei vari topic sotto,gia e stato chiesto ripetutamente questa cosa del scoreboard. Anyway devi modificare il scoreboard.
-
Delete the gta_sa.set in "documents/GTA San Andreas User Files/" Try That
-
And you no need reply for nothing
-
local root = getRootElement() local this = getThisResource() local resourceRoot = getResourceRootElement(this) local localPlayer = getLocalPlayer() local Marker = {} addEventHandler("onClientResourceStart", resourceRoot, function() Marker[1] = createMarker(4773.90234375, -1728.6389160156, 7.0291533470154, "arrow", 9, 0, 255, 0, 255) end ) addEventHandler("onClientMarkerHit", root, function(player, matchingDimension) if not matchingDimension then return end if player == localPlayer and isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle(player) if source == Marker[1] then local velx, vely, velz = getElementVelocity(vehicle) local newx, newy, newz = velx*3.5, vely*3.5, velz*3.5 setElementVelocity(vehicle, newx, newy, newz) end end end )
-
La parte dei permessi sta nel server side.
-
Togli l accesso Senza codice come faccio ad aiutarti
-
guiSetEnabled (The Image, false) https://wiki.multitheftauto.com/wiki/GuiSetEnabled
-
Quindi? Cosa vuoi fare? Vuoi che tutti usino quella funzione? Ti sei chiesto perche puma l ha fatto solo per i moderatori?
-
Non credo che è l ACL Vedi nel panel se ci sono accessi specifici e cambiali.
-
Basta che fai la funzione server side invece di client side. In client side usi il local player,quindi visibile solo a quel player.
-
Per quanto riguarda il math prova questo : variabile = 0 function mathManager (player) if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(player)), aclGetGroup ( "Admin" ) ) then if variabile == 0 then outputChatBox( getPlayerName(player).. " : Enable The Math", getRootElement(), 255, 200, 0, true) variabile=1 elseif variabile == 1 then variabile = 0 outputChatBox( getPlayerName(player).. " : Disable The Math", getRootElement(), 255, 200, 0, true) end end end variabile = 0 addCommandHandler ( "mathmanager", mathManager ) function mathQuestion () reward = math.random(2000, 5000) qn1 = math.random(10, 100) qn2 = math.random(10, 100) qn3 = math.random(10, 100) theQuestion = qn1 + qn2 - qn3 outputChatBox("Math: First one to answer "..qn1.." + "..qn2.." - "..qn3.." will win $" ..reward, root, 0, 255, 0, false) end addEventHandler("onPlayerChat", root, function(answer) if theQuestion and tonumber(answer) == theQuestion then theQuestion = nil outputChatBox("Math: "..getPlayerName(source).." #00FF00answered "..answer.." and won $"..reward, root, 0, 255, 0, true) givePlayerMoney(source, reward) end end ) setTimer( function() if variabile == 1 then mathQuestion () end end , 30000, 0) Per attivare il math devi usare /mathmanager in chat Devi editare il tempo nel setTimer,ora e settato a 30000. Per la seconda domanda puoi usare il setTimer come ti ho mostrato sopra Esempio : setTimer( function() outputChatBox ("Niko: Lo sapevi che il server ha un forum?") end , 100, 1) setTimer( function() outputChatBox ( "Luis: No non lo sapevo" ) end , 1000,1) -- dopo un secondo Spero tu abbia capito
-
U can use dx shader function in hud.txd
-
U are the menager of Jaysds1 and ren712? /stop scripterManager
-
Cmq mi sono confuso Ci vuole la variabile certo ma dal punto di vista del player. Quindi devi usare setElementData true false oppure 0 1 if getElementData etc..
-
Is Better yes . . . but this function in incomplete. Ali give more info about the binkKey for open the panel.
-
Per l'ennesima volta ti mostro la variabile Non ti entra proprio in testa. repairset = true -- puoi usare anche 0 ed 1 function buyRepair(p) if (isPedInVehicle(p)) and repairset == true then -- quando il repairset e true local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) local v = getPedOccupiedVehicle(p) if playerCash >= RepairCost then outputChatBox(getPlayerName(p).." Has bought a Repair for 4000$", getRootElement(), 0, 255, 0, true) fixVehicle(v) repairset = false -- settiamo false savePlayerData(thePlayer,"cash",playerCash-RepairCost) scoreboardRefresh(thePlayer) else outputChatBox("You don't have enought money!", p, 255, 0, 0) end else outputChatBox("You need to be in vehicle!", p, 255, 0, 0) end outputChatBox("You most be wait a nextmap for buy another repair!", p, 255, 0, 0) end addCommandHandler("br", buyRepair) Per ritornare al valore true puoi usare onMapStarting.
-
setTimer executeCommandHandler