-
Posts
1,903 -
Joined
-
Last visited
-
Days Won
1
Everything posted by xeon17
-
Você é muito infantil e não telera criticas ou opiniões contrárias a sua, por essa causa fica insinuando que sou "criança" e provoco badernas no fórum. Caso você seja intolerante com opiniões contrárias a sua, abstenha-se de interagir com a comunidade e fique no seu mundinho infantil de anencéfalos. #QueremosRootsPraADM #ForaCadu12 #CoresEmJAVA #VehicleElement
-
You shouldn't speak english when you simply can't it
-
Desi se
-
Hoce to od ovih klimatskih promjena, najavili kisu
-
Naravno, razumijem, steta sta je veca balkanaca na SA-MPu i ne znaju za MTA... Želim se okupam , Ja ću izaći nešto iz moje uvod , šalim ^ Mislim da je nemoguće da Balkan u jednoj skupini zbog nedostatka brojeva , najbolja investicija komada rada za kasnije , Zamolio bi gospodina Mega9 da prevede ovo na hrvatski po mogucnosti albansko-makedonski
-
Concordo com você, eu também queria saber porque Cadu é um moderador desde que eu não me lembro quando ele postou algo nesta seção ultima vez. Mas eu não concordo com o fato de colocar Tremidinha ou Banex como moderador desta seção já que ambos não são maduros suficiente para este cargo (minha opinião). Eu acho que Fusion ou Hornet seria perfeito para este cargo desde que ambos tem um conhecimento incrível de Lua e linguagem Inglês o que eles já provou muitas vezes.
-
The best way to make this would be checking if is the player a admin on Server side and if he is then trigger to client side and make the window visible.
-
This problem could be caused because of your's server HTTP port, have you another server running on this HTTP port on the same machine/internet? and is the HTTP port open?
-
-- Server local acls = {"Console", "Admin"} addEventHandler('onVehicleEnter', root, function (thePlayer) if not (isAllowedPlayer(thePlayer)) then return end triggerClientEvent(thePlayer,'replaceMod',thePlayer) end) -- Utils functions function isAllowedPlayer(player) local account = getPlayerAccount(player) if (not account or isGuestAccount(account)) then return false end local accountName = getAccountName(account) for i, v in pairs (acls) do if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup (v))) then return true end end return false end -- Client side addEvent("replaceMod",true) addEventHandler("replaceMod", root, function() txd = engineLoadTXD("infernus.txd", 411 ) engineImportTXD(txd, 411) dff = engineLoadDFF("infernus.dff", 411 ) engineReplaceModel(dff, 411) end)
-
I want a ferrari
-
https://community.multitheftauto.com/in ... s&id=11102
-
Just create a simple function which will remove the render. Here is a simple example, setCustomHudVisible (no) function setCustomHudVisible (bool) if not (bool) then return end if (bool == yes) then addEventHandler('onClientRender',root,nameOfTheFunction) elseif (bool == no) then removeEventHandler('onClientRender',root,nameOfTheFunction) end end
-
E não precisava de um comentário tão grosseiro e arrogante. To esperando o dnl pra dar aulas aqui
-
If there isn't any other solution then i'll create a custom F11 map, thanks guys.
-
I'm not really sure is this what i want, this is a complete new F11 Map system. I saw some servers just replaced the default F11 map without creating a new F11 Map.
-
How can i change the default (F11) map?
-
At least upload a screenshot.
-
It's because it's made on client side and only the local player can see it. You have to create a custom event on server side to change the player's skin. This should work fine: Server: addEvent('setPlayerSkin', true) addEventHandler ('setPlayerSkin', root, function (model) if (model and tonumber(model)) then setElementModel(client,model) end end) Client: function startTheJob(hitElement) if (hitElement == localPlayer) then triggerServerEvent('setPlayerSkin',hitElement,27) nextMarker = createMarker ( 2230.3369140625, -2283.4921875, 13.391557693481, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler ( "onClientMarkerHit", nextMarker, nextStage ) destroyElement(startJOB) end end addEventHandler ( "onClientMarkerHit", startJOB, startTheJob )
-
You have to check is the player who hit the marker is the local player. Try this: local startJOB = createMarker ( 2208.328125, -2284.1962890625, 13.764669418335, "cylinder", 1.5, 255, 255, 0, 170 ) function startTheJob(hitElement) if (hitElement == localPlayer) then setElementModel(localPlayer, 27) nextMarker = createMarker ( 2230.3369140625, -2283.4921875, 13.391557693481, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler ( "onClientMarkerHit", nextMarker, nextStage ) destroyElement(startJOB) end end addEventHandler ( "onClientMarkerHit", startJOB, startTheJob )