Search the Community

Showing results for tags 'realdriveby'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 2 results

  1. Hello everybody. When I use the resource "realdriveby" and I allow motorcycles for the players who are riding it shoot with guns, but when they press the right mouse button, they don't die! If they press the the right mouse button and someone try to kill them, they are invencible. Is there a way to fix it? I hope that you can help me. Thanks. (Sorry for my bad brazilian english).
  2. Hola como están , estoy editando el script de realdriveby para que solo pueda ser utilizado por usuarios VIP en mi servidor (ACL: VIPs) el problema es que no sé por qué no funciona la forma en la cual lo estoy haciendo, intente con variables comunes y triggers desde el servidor hacia el cliente y hasta con setElementData y getElementData, nada sirvió, el script se inicia y no muestra ningún error (con debugscript 3 activo) y deniega el acceso al realdriveby todo el tiempo (como si el player no estuviese en el ACL VIPs a comprobar, pero en realidad si está); espero puedan ayudarme. driveby_client.lua (Cortado, solo inserte aqui las funciones que yo agrege al script original) local driver = false local shooting = false local helpText,helpAnimation lastSlot = 0 settings = {} usuarioVip = false addEvent ( "activarUsuarioVip", true ) addEventHandler("activarUsuarioVip",getRootElement(), function() usuarioVip = true end ) local function setupDriveby( player, seat ) if usuarioVip == true then outputChatBox("[LPM-VIP] Puedes disparar desde el vehiculo.",0,255,0,true) bindKey ( "mouse2", "down", "Toggle Driveby", "" ) bindKey ( "e", "down", "Next driveby weapon", "1" ) bindKey ( "q", "down", "Previous driveby weapon", "-1" ) toggleControl ( "vehicle_next_weapon",false ) toggleControl ( "vehicle_previous_weapon",false ) helpText = dxText:create("",0.5,0.85) helpText:scale(1) helpText:type("stroke",1) --If his seat is 0, store the fact that he's a driver if seat == 0 then driver = true else driver = false end --By default, we set the player's equiped weapon to nothing. setPedWeaponSlot( localPlayer, 0 ) if settings.autoEquip then toggleDriveby() end else outputChatBox("[LPM] Si deseas disparar desde el vehiculo compra una cuenta VIP en www.mtalpm.com",255,255,0,true) return end end addEventHandler( "onClientPlayerVehicleEnter", localPlayer, setupDriveby ) driveby_server.lua (Cortado, solo inserte aqui las funciones que yo agrege al script original) function verificarVIP ( ) local cuenta = getAccountName( getPlayerAccount(client) ) if isObjectInACLGroup("user."..cuenta, aclGetGroup("VIPs")) then triggerClientEvent ( client, "activarUsuarioVip", client ) else end end addEventHandler("onClientResourceStart", getRootElement(), verificarVIP)