-
Posts
1,990 -
Joined
-
Last visited
-
Days Won
2
Everything posted by #RooTs
-
you're funny? I am a while without programming. and so I end up forgetting something. bad that is no reason to mock the other boy right
-
thanks. how to add transparency to the object? example Armor = getPlayerArmor ( player ) ( 255*Armor ) Bribe[player] = createObject(1242,x,y-8,z); setObjectScale ( Bribe[player], 1.9 ) setElementCollisionsEnabled(Bribe[player],false) exports.bone_attach:attachElementToBone(Bribe[player],player,3,0,0,0,3,-5,0)
-
how I could increase the size of the object? Bribe[player] = createObject(1242,x-2,y,z); setElementCollisionsEnabled(Bribe[player],false) attachElements (Bribe[player],player,-0.0,0.0,0.3) ;
-
I could do with "createObject". more the camera was zuada, get close to more of my ped could someone explain me how to do it with "bone attachments"
-
Hello friends. I'm trying to make show the vest, "object" while I'm of armor ... and then I'm losing armor the object gets transparent. I have no idea how to do, and what to use. what would be the best choice function? "createObject" or "bone attachments" https://community.multitheftauto.com/index.php?p ... ls&id=2540 My thought was that function getArmour() local amour = getPlayerArmor(source) if amour >= 100 then x, y, z = getElementPosition(source) Obj = createObject(ID, x, y, z, 0, 0, 0) -- set transparency in the object attachElements(source. Obj) end end setTimer(getArmour, 1500, source) sorry my english
-
Galera Ajuda (Como Fazer Crescer um RPG)
#RooTs replied to Estevam2d's topic in Portuguese / Português
mandei uma MP(mensagem privada) para você, leia ela. -
Galera Ajuda (Como Fazer Crescer um RPG)
#RooTs replied to Estevam2d's topic in Portuguese / Português
mandei uma MP(mensagem privada) para você, leia ela. -
the guy is creating fake servers to get fame. even he had already created a fake server, with the same name of my.... he is always creating intrigues among the owners of real servers, here in Brazil. Original: mtasa://192.99.141.242:22003 fake: mtasa://107.161.124.140:22003 DONE
-
the guy is creating fake servers to get fame. even he had already created a fake server, with the same name of my.... he is always creating intrigues among the owners of real servers, here in Brazil. Original: mtasa://192.99.141.242:22003 fake: mtasa://107.161.124.140:22003 DONE
-
put screenshot, or I will not download
-
File uploaded successfully! get the url by private message.
-
ped skin https://community.multitheftauto.com/ind ... s&id=12916 DONE
-
o que é loss??. omg.....
-
de nada
-
-- segue a tabela com os comandos bloqueados. remove o comando q quer desbloquear cmdList = { ["register"]=true, ["login"]=true, ["me"]=true, ["say"]=true } addEventHandler("onPlayerCommand", root, function(cmdName) if cmdList[cmdName] then cancelEvent() end end)
-
existe sim Dante. quais comandos quer bloquear. faça uma lista q te mando o exemplo
-
se o dinheiro for maior que a quantia oferecida
-
use https://wiki.multitheftauto.com/wiki/GetVehicleOccupant
-
foi o que eu disse!
-
Creio que a outra parte do seu "sistema" contenha, setElementHealth (carro , getElementHealth (carro ) 1000) --definido setVehicleLocked ( carro , false ) --definido takePlayerMoney ( thePlayer, 350 ) --definido porque se não for isso, vai fazer mais sentido usar o meu exemplo do que a sua função final. mais de qualquer forma a sua ideia é boa...
-
-
duplicate. It is the same code code 1 https://community.multitheftauto.com/in ... ls&id=5955 https://community.multitheftauto.com/in ... ls&id=2372 duplicate code 2 https://community.multitheftauto.com/in ... ils&id=591 https://community.multitheftauto.com/in ... ils&id=594 no description https://community.multitheftauto.com/ind ... s&id=12857 DONE
-
@Pedro, você quer que o veiculo quando explode com ou sem player dentro retorne para o lugar aonde saiu ? eu entendi isto, se for isso mesmo tente esse code aqui. local model = 400 local vehicle = createVehicle ( model, -708.98931884766,950.66259765625,11.769227981567 ) -- criar veiculo em uma Pos no mapa function respawnExplodedVehicle() setTimer(respawnVehicle, 5000, 1, source) end addEventHandler("onVehicleExplode", getRootElement(), respawnExplodedVehicle) ou você pode tentar este outro exemplo function respawnVehicle( vehicle ) spawnVehicle ( vehicle, getElementData( vehicle, "posX" ), getElementData( vehicle, "posY" ), getElementData( vehicle, "posZ" ), getElementData( vehicle, "rotX" ), getElementData( vehicle, "rotY" ), getElementData( vehicle, "rotZ" ) ) end function onVehicleSpawn () local x,y,z = -708.98931884766,950.66259765625,11.769227981567 setElementData (source,"posX",x) setElementData (source,"posY",y) setElementData (source,"posZ",z) end addEventHandler ("onVehicleExplode",getRootElement(),onVehicleSpawn) function onVehicleExplode () setTimer( respawnVehicle, 5000, 1, source ) end addEventHandler("onVehicleExplode", getRootElement(), onVehicleExplode)