Bonus

Members
  • Content count

    297
  • Joined

  • Last visited

Community Reputation

4 Neutral

About Bonus

  • Rank
    Pee-Wee
  • Birthday 17/02/95

Details

  • Location
    Germany
  1. [HELP] PROBLEM WITH OUTPUTCHATBOX!

    1. You mean when the player is in the same dimension, but another position (not in the marker), the output does still come? Are there other player on the server? "l_5_0" is not the player, "thePlayer" is the player. And why don't you just attach the event on the marker (instead of getRootElement())? 2. https://wiki.multitheftauto.com/wiki/SetPedWalkingStyle 126 is "MOVE_DRUNKMAN"
  2. How can i disable making crosshair bigger?

    The crosshair-size shows the accuracy of the next shot. If it's the normal size, the next shot will go right where you aim, right through the middle. If the crosshair got bigger, the shot won't go through the middle, it will go somewhere else in a specific radius to the middle-point. So you can do two things: 1. Increase the accuracy of the weapon (with setWeaponProperty) 2. Deactivate the crosshair and draw your own crosshair with dxDrawImage - but then the crosshair won't show the accuracy of the next shot anymore.
  3. [HELP] PROBLEM WITH OUTPUTCHATBOX!

    Sry, but it's hard to understand what you want, cause your english is pretty bad. What exactly is the problem?
  4. New useful function

    You could name the function "fadeText" and use a boolean for fade-in or fade-out. Also you should maybe use local variables, cause right now there is the risk that this code could break some other clientside codes, if the user used too many global variables, too. I don't like the performance of the script, but I think it won't get used that often.
  5. [HELP] how to disabe tank damageproof

    Damageproof = it gets no damage It's about the RHINO not GETTING damage!
  6. [HELP] how to disabe tank damageproof

    He is talking about disabling damageproof ... I didn't really work with rhinos, but you could use onVehicleDamage and set the Health by yourself.
  7. [HELP] ANIMATION IS MOVING THE PED!

    Freeze the ped ... Make the animation not interruptable ... What do you mean with "stopped"? Why should the ped move while doing the animation?
  8. I think one of the if-statements is false. Just put an outputDebugString/outputChatBox in every line, counting up. That way you can see where the script stops.
  9. [HELP] how to do this

    + loop
  10. [HELP] HOW TO DO THIS?

    Still use getDistanceBetweenPoints3D.
  11. [HELP] CAN'T COMPARE ELEMENT POSITION!

    Use always getDistanceBetweenPoints3D to compare positions (or your own calculation)
  12. [HELP] HOW TO DO THIS?

    1. You should use good names for the variables. I see 1_7_0 etc. everywhere, isn't that confusing? 2. You can compare getElementPosition (which returns 3 values) with numbers like that. If you want to compare them, you have to do it one by one. 3. Don't check the position like that, cause if the player is 0.01 x away from the position, it won't work. Use getDistanceBetweenPoints3D instead. https://wiki.multitheftauto.com/wiki/GetDistanceBetweenPoints3D The distance should be smaller than 2+, whatever you want. But not too less.
  13. newResource

    newResourceName is a table, not a string. Just use the "New resource loaded:" output instead of line 18 (newResources[#newResources + 1] ...). And use getResourceName ( v ) instead of newResourceName. Then you can also remove line 15 (local newResources = {}).
  14. [HELP] SCRIPT DON'T WORKING!

    In line 34 "thePlayer" doesn't exist. Use the correct variable.
  15. [HELP] SCRIPT DON'T WORKING!

    setTimer(verificar, 1000, 1, THEPLAYER) You have to give the player as an argument.