-
Posts
329 -
Joined
-
Last visited
-
Days Won
3
Everything posted by RekZ
-
but this is for only get the driver no ? if getPedOccupiedVehicleSeat (localPlayer) == 0 then
-
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
-
I have the same problem , shoot 2 rockets whit passenger
-
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
-
zi eso uso. Gracias a tu info pude hacerlo :3 Graciaas
-
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.
-
Que viene mejor cancelar la funcion o interrumpirla ?
-
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)
-
It still work ? i have some curiosity
-
i test some export but i cant find the export to create the name these is my question
-
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
-
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 ?
-
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.
-
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 )
-
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>
-
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 >.<
-
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
-
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="" />
-
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 )
-
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.
-
Edita los Archivos del DayZ que contengan informacion de los autos.. son varios los que tienen funciones para poder agregar tu nuevo vehiculo
-
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-
-
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 )