_Pattif_

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

1 Neutral

About _Pattif_

  • Rank
    Newbie
  • Birthday 18/07/2000

Details

  • Gang
    RodriguesSoftwares
  • Location
    Brazil
  • Occupation
    CEO
  • Interests
    Lua Codes and Android Apps.
  1. _Pattif_

    Access Denied

    Verify your user on your server's ACL. Make sure you have no uppercase or lowercase letters, if the user there and the user who is signing in is the same. RodriguesSoftwares. Call: +55 41 3288 2453 Thanks
  2. É só verificar quando o jogador chega sobre a marca e executa o mesmo evento de como se clicasse na letra (bindKey) para o evento de passar na marker (onMarkerHit).
  3. Hello friends! How are you? So. I was developing a code when I realized an error. Can someone help me? My code: local namep = player getPlayerFromName ( receber ) outputChatBox ( "#00ffffPRF: #c1c1c1Você acaba de pagar um policial!#c1c1c1!", thePlayer, 255, 255, 255, true ) outputChatBox ( "#00ffffPRF: #c1c1c1Você acaba de receber seu salário de #00ffffR$20.000#c1c1c1!", namep, 255, 255, 255, true ) givePlayerMoney ( namep, 20000 ) The error is this: [2019-03-26 15:14:58] WARNING: PRF/prf.lua:51: Bad argument @ 'givePlayerMoney' [Expected element at argument 1, got nil] [2019-03-26 15:15:04] WARNING: PRF/prf.lua:51: Bad argument @ 'givePlayerMoney' [Expected element at argument 1, got nil] Tnx
  4. ╔══════════════════╗ ║😎 ROLEPLAY BRASIL MTA 2.0 ║» Carros brasileiros ║» Motos brasileiras ║» Corporações grátis ║» Gangues grátis ║» 100% vida real ║» Vagas na staff ╠══════════════════╣ ║• Entre já e confira! ║➜ mtasa://198.50.195.143:22153 ╚══════════════════╝ Entra aí e ajuda noix ;D Acabei de configurar. Dia 26/03/2019 é a inauguração valendo VIP. Vale muito apena! Vlw ❤️
  5. _Pattif_

    Got Boolean

    I have the same problem. If I can solve it, I'll call you ... ] My code: function throwPlayerThroughWindow(thePlayer, x, y, z) local accName = getPlayerAccount (thePlayer) local cintover = getAccountData ( accName, "cinto" ) if cintover == "on" then outputChatBox ( "#00ffff[CIDADÃO] #c1c1c1Você bateu, mas como está utilizando o cinto de segurança, não se machucou.", thePlayer, 255, 255, 255, true ) else if thePlayer then local occupants = getVehicleOccupants ( thePlayer ) local seats = getVehicleMaxPassengers( thePlayer ) if occupants[0] == client then for seat = 0, seats do local occupant = occupants[seat] -- Get the occupant if occupant and getElementType(occupant) == "player" then -- If the seat is occupied by a player... --exports['anticheat-system']:changeProtectedElementDataEx(occupant, "realinvehicle", 0, false) removePedFromVehicle(occupant, vehicle) setElementPosition(occupant, x, y, z) setPedAnimation(occupant, "CRACK", "crckdeth2", 10000, true, false, false) setTimer(setPedAnimation, 10005, 1, occupant) end end end end end end addEvent("crashThrowPlayerFromVehicle", true) addEventHandler("crashThrowPlayerFromVehicle", getRootElement(), throwPlayerThroughWindow) *I tried to change the source through thePlayer
  6. _Pattif_

    Help-Me

    Hello my friend! I think I've found your problem! Notice that where it's marked in print, do we have different arguments? Maybe this is it. , Try this code: local Veiculos = {400} -- IDs dos Veículos. Tulio = {} function CreateVehicle (source) if getElementData (source, "Pegou", true) then outputChatBox ('#00bfffAguarde #ffffff20 #00bfffsegundos para pegar novamente.',source,255,255,255,true) return end if isElement(Tulio[source]) then destroyElement (Tulio[source]) Tulio[source] = nil end local accName = getAccountName ( getPlayerAccount (Tulio) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "JOGADOR" ) ) then local x,y,z = getElementPosition (source) local Cars = Veiculos[math.random(#Veiculos)] Tulio[source] = createVehicle (Veiculos,x,y,z) warpPedIntoVehicle (source,Tulio[source]) outputChatBox ('#888888[#FF8800SERVIDOR#888888]'..getPlayerName(source)..' #FFFFFFPegou um veiculo digitando #FF8800/veh', root, 255, 255, 255, true) setElementData (source, "Pegou",true) setTimer (setElementData, 20000, 1, source, "Pegou", false) end addCommandHandler ("veh", CreateVehicle) function DestroyVeiculo () destroyElement (Tulio[source]) end addEventHandler ("onPlayerLogout", root, DestroyVeiculo) addEventHandler ("onPlayerQuit", root, DestroyVeiculo) addEventHandler ("onPlayerWasted", root, DestroyVeiculo)
  7. Hello, dude! Try changing your File Transfer Protocol (FTP) client. I was having this same problem yesterday and I solved it. - Good luck! - I am THE DUCK OF SHOE ;D