Jump to content

RekZ

Members
  • Posts

    329
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by RekZ

  1. RekZ

    Vehicle Shot

    but this is for only get the driver no ? if getPedOccupiedVehicleSeat (localPlayer) == 0 then
  2. RekZ

    Vehicle Shot

    create 2 rockets , one whit the position of mine and other whit the position of the passenger y test whit a chatbox and the passenger recibe the message too
  3. RekZ

    Vehicle Shot

    The same problem , no error
  4. RekZ

    Vehicle Shot

    I have the same problem , shoot 2 rockets whit passenger
  5. RekZ

    Vehicle Shot

    if there is a passengers in the swat , shot 2 rockets , how i can fixed ? function Dhooter( ) if isPedInVehicle ( localPlayer ) then local veh = getPedOccupiedVehicle ( localPlayer ) if (veh) and getVehicleOccupant ( veh , 0 ) then if ( getElementModel ( veh ) == 601 ) then local X, Y, Z = getElementPosition(veh) createProjectile(veh, 19 , turX, turY, turZ, 0, nil, 0, 0, 0) --createExplosion(turX, turY, turZ , 8, false, 0.5, false) end end end end
  6. I have the same problem ... in mta 1.5.1 First appeared then in 1.5.2 That disappeared and in the new version 1.5.3 appeared again, It is a horrible crap, Fill the log with that useless message
  7. RekZ

    Ordenar ComboBox

    zi eso uso. Gracias a tu info pude hacerlo :3 Graciaas
  8. Como podria ordenar esto ? por orden alfabetico y/o numerico al ser posible , en el codigo las tengo en orden , pero a la hora de cargarse ,se carga como le viene en gana.
  9. Que viene mejor cancelar la funcion o interrumpirla ?
  10. con eso engloba a todos los objetos tantos los creados por lua como los creados por un .map getElementsByType ( "object" ) el Ejemplo anterior no te dio mensaje porque no tiene evento ponle algun evento y ya function obtenerPosicion( command , modelID ) local modelID = tonumber( modelID ) if modelID then local tabla_objetos = getElementsByType( 'object' ) for i=1, #tabla_objetos do local objeto = tabla_objetos[ i ] if objeto == modelID then local x, y, z = getElementPosition( objeto ) local rx, ry, rz = getElementRotation( objeto ) outputChatBox( "Poste "..i..": Posicion: "..x..", "..y..", "..z.."." ) outputChatBox( "Poste "..i..": Rotacion: "..rx..", "..ry..", "..rz.."." ) end end end end addCommandHandler("quierolapos",obtenerPosicion)
  11. It still work ? i have some curiosity
  12. i test some export but i cant find the export to create the name these is my question
  13. i dont plant to create fake players , only a name in the scoreboard whit some of data ( playtime , level ) , create fake players is not my goal
  14. i have a big dude whit the scoreboard , i think the scoreboard create players when enter in the server but , i can create a ghost player in the scoreboard like a bot or virtual player ?
  15. Parece ser que nadie se dio cuenta que ese "bug" ocurre al salir de un vehiculo , y yo no uso el resource de driveby y por otro lado he visto servidores muy distintos al mio con el mismo bug , pero dejando atras eso lo arregle reequipando cada arma al jugador cuando se baja del auto , desde entonces nadie se a vuelto a quejar de ese bug en mi servidor.
  16. RekZ

    get Max value

    how i can get the best value of all accounts Data in the server using these ? for _, cuentas in ipairs (getAccounts()) do local accountData = getAccountData ( cuentas , "Value" ) DataValue = tonumber(accountData) end outputChatBox ( "The best Value is "..DataValue )
  17. whit the server offline you need to add your user account to the acl of Admin like i show you down and start the server , when you log whit this account you can open de admin panel whit P button. <group name="Admin"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="RPC"></acl> <acl name="Admin"></acl> <object name="resource.admin"></object> <object name="resource.webadmin"></object> <object name="resource.acpanel"></object> <object name="user.Borisov313"></object> </group>
  18. RekZ

    Use get in Setting

    i see the other message whit photo jajaja no problem >.< is my fault i dont know how to explain, yeah i know is this form of use get but i test some scripts and i tried to do a multiples options whit get but if i use this i cant put others numbers.. like this if i use.. <settings> <setting name="*Numbers" value="1,2,3,4" friendlyname="Numbers" examples="1,2,3,4" desc="" /> </settings> addCommandHandler('randomnumber', function() outputChatBox( get("Numbers") ) end) when i use the command dont put me in the chat a random number , it give me 1,2,3,4 values , i want to get one number of the list not all the setting , is difficult to explain sorry for my english >.<
  19. RekZ

    Use get in Setting

    jajaja and what i can use that to help me ? i dont need to learn about xml i quest other thing that include lua and xml , i dont know why you send me that web is not usesfull for this question
  20. How i can use the get function in a string in the meta.xml or use multiple options in the meta , i dont know if I'm explaining well , I think not. get("Option") <setting name="*Option" value="1,2" friendlyname="Numbers" examples="1,2,3" desc="" />
  21. RekZ

    [Learnig Lua]

    es serverside creo ? no seria ( por el localPlayer me refiero ) function miAuto(theVehicle ) outputChatBox("Estas en el auto "..getVehicleName ( theVehicle ) ) end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), miAuto )
  22. Un problema que aunque no te interfiere con eso , es que estas agregando el Reefer a la tabla de vehiculos en agua , podrias evitar eso y por otro lado estas seguro que solo es al Caer al agua ? , he tenido el mismo problema , pero no era solo por el agua , al final era mas facil de lo que parece arreglarlo.
  23. Edita los Archivos del DayZ que contengan informacion de los autos.. son varios los que tienen funciones para poder agregar tu nuevo vehiculo
  24. RekZ

    [AYUDA]Radar

    tiene todo el sentido del mundo , si tu no lo ves kizas nesesites gafas , no intentes hacer kedar mal a la gente.. te recuerdo que fuiste tu el que me avisaste de eso hace tiempo. -fin-
  25. RekZ

    [AYUDA]Radar

    solo tienes que adaptar la posicion que tu quieras en la pantalla.. suerte function dxposicion() for index,player in pairs(getElementsByType("player")) do x,y,z = getElementPosition (getLocalPlayer ( player)) sWidth, sHeight = guiGetScreenSize() --Posicion X dxDrawText(math.floor(x),sWidth-100,sHeight-100,sWidth-450,sHeight-57,tocolor(255,255,255,255),1,"default-normal","right","top",false,false,false) --Posicion Y dxDrawText(math.floor(y),sWidth-100,sHeight-115,sWidth-450,sHeight-57,tocolor(255,255,255,255),1,"default-normal","right","top",false,false,false) --Posicion Z dxDrawText(math.floor(z),sWidth-100,sHeight-130,sWidth-450,sHeight-57,tocolor(255,255,255,255),1,"default-normal","right","top",false,false,false) end end addEventHandler ("onClientRender", root,dxposicion )
×
×
  • Create New...