Jump to content

Anubhav

Members
  • Posts

    2,277
  • Joined

  • Last visited

Everything posted by Anubhav

  1. Solidsnake @ Please lock the topic. I've found that this is edited and no credits to author. Its from community! https://community.multitheftauto.com/in ... ls&id=6448
  2. Lol? 100 USD? That don't worth the script. I can make dito same script in 25 minutes lol.
  3. commands = {} commands.engine = "setengine" newcommands = {} newcommands.engine = get ( "engine" ) or commands.engine function pack(thePlayer) local account = getPlayerAccount(thePlayer) if (not account or isGuestAccount(account)) then return end local accountName = getAccountName(account) if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup ( "Everyone" ) ) ) then --Player Data setElementData(thePlayer,"blood",12000) end end addCommandHandler(newcommands.engine, pack)
  4. Damn I just took a random number. Thanks IIYAMA.
  5. x = 1633.0849609375, y = 1823.625, z = 10.8203125, veh = 245
  6. No nils were there as I said I outputted the value and its fine. Testing the codes. Tested. Values are good but silly mistake is outputted.
  7. I outputted values its fine. There's something wrong in createVehicle
  8. o_O No. ? and ZA7F no. I outputted the values working fine.
  9. vehicless[source] = createVehicle(vehi, x, y, z ) warpPedIntoVehicle(source, vehicless[source]) Whats wrong? warpPedIntoVehicle got 2nd arg got boolean.
  10. See, I told you worked on one thing full time.. I am not like that at all. 7-8 hours schools then H.W then exams studies then a bit of playing then a bit of scripting then -> sleep.
  11. Anubhav

    I need help

    addEventHandler("onClientGUIClick", getRootElement(), function () if source == paratransferi_buton1yazi then local sel_1 = guiGridListGetSelectedItem(paratransferi_liste1) local getMoneyToSend = guiGetText(paratransferi_yazmayeri1) if sel_1 and getMoneyToSend then local playerName = guiGridListGetItemData ( paratransferi_liste1, sel_1, 1 ) local player = getPlayerFromName(tostring(playerName)) if isElement(player) then triggerServerEvent("paraGonder",localPlayer,player,getMoneyToSend) putPlayers() else outputChatBox("Oyuncu Seçmelisin veya Boş Alanları Doldurmalısın",255,0,0) end end end end ) client Which line is that?
  12. Show us the full script.. The timer runs one time that means for -1 ms maybe unlimited in MTA:SA.
  13. How do you want it then??
  14. local ped = createPed(36,x, y, z, 90, true) setPedFrozen(ped, true) setTimer(setPedAnimation, 500, 0 , ped,"ped", "KO_shot_front", 1000, false, false, false, true) Maybe this. It will keep going and set it again and again.
  15. Do it yourself. He's not going to update the script anymore.
  16. Anubhav

    Is it a bug?

    Yes exactly like that.
  17. Wasn't it there? I think its a misunderstanding.
  18. Did you ever save it? if fileExists(country..".txt") then local file = fileOpen(country..".txt") fileWrite(file, "Name:"..name.." Serial:"..serial) fileSave(file) fileClose(file) end
  19. local lastDmg = 0; addEventHandler("onClientPlayerDamage",localPlayer, function() lastDmg = getTickCount() end ) setTimer( function () if lastDmg+5000 < getTickCount() and getElementHealth(localPlayer) < 100 then setElementHealth ( localPlayer, ( getElementHealth ( localPlayer ) + 15 ) ) end end,5000,0)
  20. function displayVehicleLoss(loss) if getVehicleOccupant(source) then setElementHealth(source, getElementHealth(source)+loss) end end addEventHandler("onVehicleDamage", getRootElement(), displayVehicleLoss)
  21. Anubhav

    Help SQL

    Then use a mysql hosting company. Google it.
  22. Anubhav

    Help SQL

    function () dbConnect( "mysql", "dbname=a1490908_memo;host=mysql10.000webhost.com;port=yourPort.", "a1490908_memo", "12345m", "share=1" ) end
×
×
  • Create New...