• Content count

  • Joined

  • Last visited

  • Days Won


Patrick2562 last won the day on April 3

Patrick2562 had the most liked content!

Community Reputation

31 Good


About Patrick2562

  • Rank


  • Gang

Recent Profile Visitors

859 profile views
  1. [HELP] Weapon damage multiplier bug

    You are welcome!
  2. Screen PositionX and PositionY?

    -- only on client side local screenWidth, screenHeight = guiGetScreenSize() local centerX, centerY = screenWidth/2, screenHeight/2
  3. [HELP] Weapon damage multiplier bug

    addEventHandler ( "onClientPlayerDamage", getRootElement(), playerdamaged ) to addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), playerdamaged )
  4. [HELP] Pay command script

    You are welcome!
  5. [HELP] Pay command script

    addCommandHandler( 'pay', function( source,_,player,amount ) local find = findPlayer( player ) if find then local sourceAccount = getPlayerAccount ( source ) local guestAccount = isGuestAccount ( sourceAccount ) if guestAccount then outputChatBox( '[Pay]: You are not logged in!',source,255,0,0 ) else if amount then givePlayerMoney( find,tonumber( amount ) ) takePlayerMoney ( source, tonumber(amount) ) outputChatBox( '[Pay]:You transfered '..amount..'$ to '..getPlayerName( find ),source,255,0,0 ) outputChatBox( '[Pay]:You received '..amount..'$ from '..getPlayerName( source ),find,0,255,0 ) else outputChatBox( '[Pay]:/pay [playername][amount]!',source,255,0,0 ) end end else outputChatBox( '[Pay]:Player not found!',source,255,0,0 ) end end)
  6. [HELP] Drug script error

    You are welcome.
  7. [HELP] Drug script error

    --HEROIN DRUG EFFECT ON function heroinDrugOn(player) setPedStat ( player, 24, 1000) setElementHealth(player, 200) setTimer(heroinDrugOff, 60000, 1, player) triggerClientEvent ( player, "heroinOnMessage", root) end addCommandHandler("useheroin", heroinDrugOn) --HEROIN DRUG EFFECT GOING OFF function heroinDrugOff(player) local playerHealth = getElementHealth(player) if (playerHealth > 100) then setElementHealth(player, 100) end setPedStat (player, 24, 590) triggerClientEvent ( player, "heroinOffMessage", root) end
  8. Shoutall problem

    dxDrawText(shoutText, screenX/4, screenY/4, screenX/4*3, screenY/4*3, tocolor(220, 20, 20, 220), 2, "bankgothic", "center", "top", false, true)
  9. Shoutall problem

    Sorry bro, but we are a community.. So this script is for everyone.
  10. Shoutall problem

    Here it is. Sorry for late answer. Link:
  11. What's the problem ? Handling

    addCommandHandler("change", function(player) local veh = getPedOccupiedVehicle(player) if veh then setVehicleHandling(veh, "mass", 1500) end end)
  12. Shoutall problem

    I gonna make it, and send it to you. (Max 30 mins, I have a little business to do, before it.)
  13. Shoutall problem

    You want to shout text to all player screen?
  14. Shoutall problem

    outputChatBox("#ff0000(#FF0040Shoutall#ff0000)"..getPlayerName(player).."#ffffff"..message.."", root, 255, 255, 255, true)
  15. engineLoadIFP error!

    I tested it with version 12195, and it's working fine. I've been waiting for this for months.