-
Posts
754 -
Joined
-
Last visited
Everything posted by NodZen
-
Probá ponerle al marker como variable, y despues lo destruyes con destroyElement.
-
Pruevalo así addEventHandler("onClientVehicleEnter", getRootElement(), function(thePlayer, seat) if thePlayer == getLocalPlayer() then if ( getElementModel ( source ) == 574 ) then createMarker ( -2350.89, 2469.5, 5, "checkpoint", 2.5, 255, 255, 0, 255 ) end end end )
-
Simplemente desactivalos del meta a los demas scripts y deja los que quieres.
-
No hay problema...
-
Algo más facil es así: local id = getElementModel ( player ) if id == Aqui tus IDS or id == Más IDS or id == Más then
-
Checkeas si está en el grupo con isObjectInACLGroup y si está entonces le dás el skin.
-
Agregále los demás argumentos... Talvéz sea eso.
-
Cual es el problema ahora: ¿No se crea el ped o no se sienta?.
-
Tienes que usar esta funcion: setVehicleDoorState
-
Editaste las coordenadas del Colshape?
-
Nada de eso, para cambiar el color , letras y todo lo demás tienen que crear un settings.xml en el resource del scoreboard con este codigo... Editenlo a su gusto. true false false false true true 1.5 1 default-bold default-bold clear default "255" g="0" b="0" a="255"> "255" g="0" b="0" a="255"> "255" g="0" b="0" a="255"> "255" g="0" b="0" a="255"> "255" g="0" b="0" a="255"> "255" g="0" b="0" a="255"> "255" g="0" b="0" a="255"> "255" g="0" b="0" a="255">
-
Tienes que usar: createMarker setElementPosition PD: La proxima pregunta en scripting
-
Talvez sea el archivo .map del "play"... Borrá esto "ranch" posX="-711" posY="957" posZ="12.4" rotation="90"> "pirate" posX="2005" posY="1543" posZ="13.5" rotX="270"> "grove" posX="2485" posY="-1667" posZ="13.3" rotX="0"> "hill" posX="-2405" posY="-598" posZ="132.6" rotX="128">
-
Gracias Fran, ami no me habria el link... PD Este es el link de la linterna https://community.multitheftauto.com/index.php?p=resources&s=details&id=6858
-
Dude, you can upload it somewhere else?
-
Yo tambien estaba buscando esto. Pero no anda el link del archivo.
-
No será El?
-
El BOT ataca a todo ( otros bots, zombies, peds, players , etc ) Eso no servirá...
-
Tendrias que editar gran parte del Resource. la cual es muy largo.
-
Te refieres a los BOTS? Si es eso , tendras que editar el Resoruce. ( creo )
-
Te funcionó?
-
Probalo así ( no está probado ) function BossNemesis ( thePlayer ) x,y,z = getElementPosition( thePlayer ) nemesi = exports [ "slothBot" ]:spawnBot ( x+1,y+1,z+0.5, 90, math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true ) setElementModel(nemesi, 285) end addCommandHandler("nemesis",BossNemesis) function money (theKiller) if (source == nemesi) then local kills = getElementData ( theKiller, "Zombie kills" ) setElementData ( theKiller, "Zombie kills", +25) givePlayerMoney( theKiller, 10000) outputChatBox ( getPlayerName ( theKiller ) .. " #081DBFHa Matado Ha Nemesis :3 , Se Cree Muy Prah!",getRootElement(), 255, 255, 255, true ) end end addEvent("onBotWasted", true) addEventHandler("onBotWasted", getRootElement(), money)
-
Asi te tiene que quedár esa parte. function BossNemesis ( thePlayer ) x,y,z = getElementPosition( thePlayer ) nemesi = exports [ "slothBot" ]:spawnBot ( x+1,y+1,z+0.5, 90, math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true ) setElementModel(nemesi, 285) end addCommandHandler("nemesis",BossNemesis)
-
Pusiste el numero del skin? O lo pusiste tal cual te lo dí? Aparte, en que linea lo pusiste?
