Jump to content

12p

Members
  • Posts

    2,608
  • Joined

  • Last visited

Everything posted by 12p

  1. Yea we know. I could do it but I don't want to BUT SHOULDN'T BE RELEASED EVER!!! No offense, but noob-scripting people don't deserve to have such "complex" and self-working scripts.
  2. 12p

    need help

    GOD. YOU HAVEN'T CHECKED MY DAMN CODE. That's why this doesn't work. You didn't copy any of the core functions!!! Here you have new code... local player = getLocalPlayer ( ) fpsmode = false addEventHandler ( "onClientCursorMove", getRootElement ( ), function ( guiy1, guiy1, guix2, guiy2, x2, y2, z2 ) if not isCursorShowing ( ) and not isChatBoxInputActive ( ) and not isMainMenuActive ( ) and fpsmode and isPedInVehicle ( player ) then local x1, y1, z1 = getPedBonePosition ( player, 6 ) setCameraMatrix ( x1, y1, z1, x2, y2, z2 ) end end ) function setFPSCamera ( ) local x1, y1, z1 = getPedBonePosition ( player, 6 ) setCameraMatrix ( x1, y1, z1 ) if not getControlState ( "aim_weapon" ) then setControlState ( "aim_weapon", true ) end end bindKey ( "f2", "down", function ( ) fpsmode = not fpsmode toggle ( ) end ) function toggle ( ) if isPedInVehicle ( player ) and fpsmode then outputChatBox ( "View Mode |on|", 0 , 255, 0 , true) addEventHandler ( "onClientPreRender", setFPSCamera ) else outputChatBox ( "View Mode |OFF|", 255, 255, 255, true ) setCameraTarget ( player ) removeEventHandler ( "onClientPreRender", setFPSCamera ) end end addEventHandler ( "onClientPlayerVehicleEnter", player, toggle ) addEventHandler ( "onClientPlayerVehicleExit", player, toggle )[/lua]
  3. Obviously.
  4. You're welcome. PS. Castillo loves to create new replies just to say "you're welcome"
  5. Y'don't know everyone's opinion. Don't just discard all options like that.
  6. The point is, nobody has made it because: -Lazy. -Don't want to (me). -Don't know how to/noob scripter. -Didn't had the idea.
  7. Ofc ya'know that we also don't want that. Fixed phrase: WE WANT TO BE IN A FORUM WITH MORE THAN 10 TOPICS PER DAY, AND THAT THOSE BE NOT FLAME POSTS.
  8. Yup. You got it. Go test it
  9. First of all. This script will set all players' game speed. You should make it client + server: CLIENT: function res ( ) setGameSpeed ( 0.4 ) end addEventHandler( "onClientPlayerWasted", getLocalPlayer( ), res ) SERVER: function res ( ) local x, y, z = getElementPosition ( source ) outputChatBox ( "Respawn after 5 seconds...", source, 255, 255, 0, true ) setTimer ( spawnPlayer, 5000, 1, source, x, y, z, 0, math.random ( 0,200 ) ) end addEventHandler ( "onPlayerWasted", getRootElement( ), res ) ------ About the restoring game speed: CLIENT: function res ( ) setGameSpeed ( 1 ) end addEventHandler( "onClientPlayerSpawn", getLocalPlayer( ), res )
  10. we*
  11. Seems like you're putting big effort on your server. I wanna be a tester
  12. FWCentral, please read carefully this: https://wiki.multitheftauto.com/wiki/GetPlayerMoney
  13. viewtopic.php?f=114&t=37223
  14. Good-hardware lack?
  15. 1. I don't wanna have that script on my server. It will lag for me, no matter how much good is my script (unless I get new PC ) 2. Nice joke. IDK how to D:
  16. 1. Ten days is a long time for me. 2. Then GTA San Andreas is unoptimized
  17. 12p

    Skin Bug

    This happens to me when using shaders on Race (haven't tested it on other gamemodes).
  18. 12p

    need help

    Can you tell me what's not working if you use THIS code? Does it output something at the chat? Remember to press F2 to make this work! local player = getLocalPlayer ( ) local fpsmode = false bindKey ( "f2", "down", function ( ) fpsmode = not fpsmode toggle ( ) end ) function toggle ( ) if isPedInVehicle ( player ) and fpsmode then outputChatBox ( "View Mode |on|", 0 , 255, 0 , true) addEventHandler ( "onClientPreRender", setFPSCamera ) else outputChatBox ( "View Mode |OFF|", 255, 255, 255, true ) setCameraTarget ( player ) removeEventHandler ( "onClientPreRender", setFPSCamera ) end end addEventHandler ( "onClientPlayerVehicleEnter", player, toggle ) addEventHandler ( "onClientPlayerVehicleExit", player, toggle )
  19. You mean CO-OP CAMERA mod?
  20. 1. It's maybe easy, but takes a long time to make path nodes. 2. It may lag, don't you think so? Zombies already lag, imagine peds using path nodes.
  21. 12p

    Help on Image

    I do read. It's just that you could meant HIDING an image. destroyElement
  22. 12p

    Help on Image

    DELETE? Or just hide? Both are differents concepts; deleting it, you'll have to create it again. Hiding it, you can turn it visible again whenever you want.
  23. So, accounts cannot store tables as data?
  24. In the night, that object looks like neon.
×
×
  • Create New...