-
Posts
1,027 -
Joined
-
Last visited
Everything posted by BorderLine
-
createPed ( model, x, y, z, RotX, RotY, RotZ ) Read the wiki. For example createPed ( 50, 1.5, 2.5, 3.6, 0 ) -- 0 is rotation in grades 0 the ped will look to the north of San andreas. you need turn. If you want the peed looking to the south need change the rot to "90" And that depend to where you want to turn the ped.
-
Gracias por la correccion Y en cuanto a que se repita o no.. Al final de la URL ponele false y no true. Asi evitas que vuelva a sonar cada vez que termine
-
function joinsound() playSound("tumusica.mp3", true) -- el true define si quieres que se repita, si no quieres que se repita pones false end addEventHandler("onClientPlayerJoin", getResourceRootElement(getThisResource()), joinsound)
-
Sugerencia, agregen musica por stream. Es decir busquen un link directo al mp3.. yo uso la pagina mp3skull. Asi se evitan la descarga de numerosos archivos y con el stream descargan solo el client side del resource y no el archivo mp3
-
edita el dxscoreboard_clientsettings
-
Es un poco complicado. Porq si vas a mantener el nombre del resource "scoreboard" podras tener unos inconvenientes. En primer lugar pasa que estos scoreboard traen una configuracion personal. Que si tu entras a cualquier server con el mismo resource llamado "scoreboard" mantendras tu configuracion personal sin ver la que el servidor a configurado por defecto. Por ende si tu mantienes el nombre del script "scoreboard" y quieres tener el background negro, vendra algien con alguna configuracion guardada que puso su background celeste y no vera tu configuracion. Te recomiendo que uses otro nombre para el resource, por ejemplo "scoremota". Y que en los llamados al resource scoreboar, sea asi por ejemplo call(getResourceFromName("scoremota"),"addScoreboardColumn" para que la columna se exporte hay. Y para editar la configuracion por defecto debes editar el archivo "dxscoreboard_clientsettings" Si entiendes un poco mas edita el "dxscoreboard_client" y quitas el boton de "settings" para que nadie cambie los colroes de tu scoreboard. Todo lo demas queda a tu conocimiento
-
tu pagas, haces el tramite por internet enviando tu comprobante de pago y luego de 24 horas te activaran el server. Te enviaran tus datos de tu cuenta del c-panel y tus datos para tu cuenta de ftp
-
Mi server es hosteado por clanznetwork, antes era bastante inestable, ahora esta bien. Te lo recomiendo. En cuanto a las modalidades de pago te dan distintas formas, paymal, tarjetas de creditos o depositos bancarios. aqui te dejo el link para que veas. Yo page por un deposito bancario. Puedes acceder a el con alguna persona adulta que pueda hacerlo. Nada mas basta el dinero numero de cuenta al cual depositar. Espero ayudarte aqui va el link http://www.clanznetwork.com/como-pagar/
-
im using this fuction to delete gates in area 51. Im not sure but the objects dessapear when you leave mta and join again. If you want remove object for ever just must do this removeWorldModel(16617,1000,2494.1086425781,-1697.3459472656,23.620510101318) this work, but if you want with comand and when u do it. this will not dessapear.
-
Perfecto. Working 100% thanks for ur time kenix and solid maybe some day i could help you Edit: i dont know what happen, was working good, now show this message debugscript 44: attempt to perform artihmetic on a nill value edit: i found the error no problem thanks
-
Not work, i think the problem is in setTimer( function( ) for _, v in pairs( getElementsByType( "player" ) ) do if not t[ v ] then t[ v ] = { ["hour"] = 0, ["min"] = 0, ["sec"] = 0 } end t[ v ][ 'sec' ] = tonumber( t[ v ][ 'sec' ] or 0 ) + 1 checkValues ( v, t[ v ][ 'sec' ] or 0, t[ v ][ 'min' ] or 0 ) setElementData( v, "Tiempo Jugado", tostring( t[ v ][ 'hour' ] or 0 )..':'..tostring( t[ v ][ 'min' ] or 0 ) ) end end, 1000, 0 ) For example, im stay 5 minutes in the server, then i quit and i login,and when i login the time in score show 0:5 minutes. but one second after come back the time to 0:0
-
now count the minutes, but when i disconnect then join and i login don save the times i added a serttimer to function onJoinQuit for save every minute. but dont work that Some variable is wrong?
-
all good, dont show errors, but the time in the score board dont change the minutes. i was waiting 5 minutes and dont change. still in 0:0
-
en el panel de adm, resources, ve a las settings del scoreboard sale una opcion show color name, creo, algo asi le cambias false por true y listo
-
debugscript 3 34:attempt to index field '?' ( a userdata value) edit: i dont know what i can do
-
Perfect. Working. Thanks a loot And how i can make to in minute 59 pass to 0.. because here when players are online 1:20 minutes the score show 1:80
-
Hi everyone, i have a question and other is a help first is how i can make to when pass 60 minuts, back to 0. and the help.. my script dont save the time online Im try much thinks, and dont work debug dont show erros exports.BHZ4_scoreboard:addScoreboardColumn('Tiempo Jugado') setTimer( function( ) for _, v in pairs( getElementsByType( "player" ) ) do local totalTime = getElementData( v,"totalTime" ) or 0 setElementData( v,"totalTime",totalTime+1 ) setElementData( v,"Tiempo Jugado",math.floor( tonumber( totalTime )/3600 ).." H : "..math.floor( tonumber( totalTime )/60 ).." M" ) end end, 1000, 0 ) function onPlayerQuit ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) and not isGuestAccount ( playeraccount ) then local time = getAccountData ( playeraccount , totalTime ) setAccountData ( playeraccount, "totalTime", time ) end end function onPlayerLogin (_, playeraccount ) if ( playeraccount ) then local time = getAccountData ( playeraccount, "totalTime" ) if ( time ) then setElementData ( playeraccount, time ) end end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin)
-
Buena imagen, pero en lo que no me gusta es la moda, es muy estupida. Que un mapper haya creado un map con musica de skrilex y ahora todos hacen lo mismo. deberian ser mas originales.
-
Nice point benox. Well finaly i fix it with something simple like this createExplosion ( px, py, pz-20, 12 , false , 0.5 , false ) the camera move good and the exlosion its created under the ped .. so all good for now
-
sh**t.. and how i can simulate the camera move on explosion?
-
thanks man look i have this local function playGunfireSound(weaponID) local muzzleX, muzzleY, muzzleZ = getPedWeaponMuzzlePosition(source) local px, py, pz = getElementPosition ( source ) if weaponID == 22 then --colt45 local sound = playSound3D("sounds/weap/Colt45.mp3", muzzleX, muzzleY, muzzleZ, false) setSoundMaxDistance(sound, 40) elseif weaponID == 25 then--shotgun local sound = playSound3D("sounds/weap/Shotgun.mp3", muzzleX, muzzleY, muzzleZ, false) setSoundMaxDistance(sound, 40) createExplosion ( px, py, pz, 12 , false , 0.5 , false ) all its good, but when i show this appear in the road how i can delete it?
-
Hi everyone someone know what function i need add to move the camera when players shoots?? I was looking about setcameramatrix, but i dont know how i can use it.. or if anyone know other function.. thanks for your time and attention
-
1) i will never forget function 2) the script work 3) you are the man thk a loot
-
Hi scripters Well i was boring and im trying to put sound to my moveocbject dont work this is the script clientside fuction opendoor() playSound ( "door.mp3", false ) end serverside addEventHandler ("onMarkerHit",markerBHZ, function (hitPlayer) local account = getPlayerAccount(hitPlayer) if isObjectInACLGroup( 'user.'..getAccountName( account ), aclGetGroup( 'BHZ' ) ) then moveObject (puerta2,1000,742.4,-2442.5,14.39) triggerClientEvent ("opendoor",hitPlayer,opendoor) else outputChatBox ("Acceso denegado!",hitPlayer) killPed (hitPlayer) end end) debugscript 3 say Server triggered clientside event opendoor, but event is not added client what type of event i need add to fuction opendoor?