Andres99907

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Andres99907

  • Rank
    Rat

Details

  • Gang
    GTA

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. last week I had a login panel that worked with HTML, the panel had a background video and music, but now it appears on white background and without sound, I tried to put another HTML panel and the same thing happens, both use videos in webm format and sound in ogg format, I do not know exactly what happens D :
  2. It worked!! I really appreciate it very much
  3. This is the script: function check ( player, seat, jacked ) if getElementData(source, "privado") then if getElementData(source, "dueño") == getAccountName(getPlayerAccount(player)) then else cancelEvent() outputChatBox("Este vehículo no es tuyo.", player) end end end addEventHandler ( "onVehicleStartEnter", getRootElement(), check ) function adueñar(playerSource, player, cmd, who) local who = getPlayerName(playerSource), playerSource(who) local co = getPedOccupiedVehicle(who) setElementData(co, "privado", true) setElementData(co, "dueño", getPlayerName(who)) outputChatBox("Este auto ahora es de:"..getPlayerName(who), player) end addEventHandler ( "onVehicleEnter", getRootElement(), adueñar ) the script makes that when a player gets into a car it is saved in his account so no other can use it, the script needs to get the player's name, but I think that in a server-type script it is impossible :(, I have tried everything and nothing has worked... Help :C the script works when you change "addEventHandler" to "addCommandHandler" but, i want everything to be automatic.
  4. function check ( player, seat, jacked ) if getElementData(source, "policeman") then if getElementData(source, "owner") == getAccountName(getPlayerAccount(player)) then else cancelEvent() outputChatBox("You need to be a Policeman", player) end end end addEventHandler ( "onVehicleStartEnter", getRootElement(), check ) function setcop(player, cmd, who) local who = getPlayerName(playersource), setcop(who) local co = getPedOccupiedVehicle(who) setElementData(co, "policeman", true) setElementData(co, "owner", getPlayerName(who)) outputChatBox("The Policeman:"..getPlayerName(who), player) end addEventHandler ( "onVehicleEnter", getRootElement(), setcop ) i made a few changes
  5. My script* but i can't change the title
  6. I'm trying to make a resource that obtain the name of a player like this line: local who = getPlayerName(playerSource), playerSource(who) but i got this GetPlayerName [expected element at argument 1, got nil] lua:13: attempt to call global 'playerSource' (a nil value) I need help :'c the script is of the type server
  7. For a long time he tried to make the players of my server have their own cars and another player can not remove them but I do not know how to do it, I made a resource that affects the doors, but it was not useful and failed in a certain thing,: c Help
  8. EspañolInglésItaliano---------------Detectar idiomaAfrikáansAlbanésAlemánAmáricoÁrabeArmenioAzerbaiyanoBengalíBielorrusoBirmanoBosnioBúlgaroCanarésCatalánCebuanoChecoChino (Simplificado)Chino (Tradicional)CingalésCoreanoCorsoCriollo haitianoCroataDanésEslovacoEslovenoEspañolEsperantoEstonioEuskeraFinésFrancésFrisón occidentalGaélico escocésGalésGallegoGeorgianoGriegoGuyaratíHausaHawaianoHebreoHindiHmongHúngaroIgboIndonesioInglésIrlandésIslandésItalianoJaponésJavanésJemerKazajoKirguísKurdoLaoLatínLetónLituanoLuxemburguésMacedonioMalayalamMalayoMalgacheMaltésMaoríMaratíMongolNeerlandésNepalíNoruegoNyanjaPanyabíPastúnPersaPolacoPortuguésRumanoRusoSamoanoSerbioShonaSindhiSomalíSotho meridionalSuajiliSuecoSundanésTagaloTailandésTamilTayikoTeluguTurcoUcranianoUrduUzbekoVietnamitaXhosaYidisYorubaZulúEspañol Thank you! , I really appreciate it C:
  9. I have this: function Salir() if isElement(tableVehicles[source]) then destroyElement(tableVehicles[source]) end end addEventHandler("onPlayerVehicleExit",getRootElement(),Salir) This function destroys the vehicle when the player leaves, I want this to happen after a second and not immediately, i need to use "Set timer", but I do not know how to use it, I tried different ways but none of them
  10. this is the script to lock the doors function lockdoors ( theVehicle, seat ) if ( getElementModel ( theVehicle ) == 601 ) then if isVehicleLocked ( playervehicle ) then setVehicleLocked ( v, true ) else setVehicleLocked ( v, false ) end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), lockdoors )
  11. I have a problem with the swat, I put a resource that makes it fire, but it explodes if there is someone else inside, I tried to make the doors lock in the swat and that they can not warp when a player is inside but it did not work. help
  12. I'm confused, I have not found almost anything about this, I can not turn off the gun, I think the command togglecontrol can help me but I do not know how to use it :(.
  13. I have a bug on my server. The Rhinos have an extra wheel, In Grand Theft Auto San Andreas , When you write HESOYAM this wheel appears and in appearsMTA it always, I was researching and I did not find anything about this since I had two options, Download a model that has no wheels but use the Rhino Tracks cleo or disappear the extra wheel, For obvious reasons I preferred to disappear the extra wheel but still I have not found how to do it help me pls. (#)