-
Posts
2,608 -
Joined
-
Last visited
Everything posted by 12p
-
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.
-
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]
-
You're welcome. PS. Castillo loves to create new replies just to say "you're welcome"
-
Y'don't know everyone's opinion. Don't just discard all options like that.
-
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.
-
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.
-
Yup. You got it. Go test it
-
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 )
-
Seems like you're putting big effort on your server. I wanna be a tester
-
FWCentral, please read carefully this: https://wiki.multitheftauto.com/wiki/GetPlayerMoney
-
viewtopic.php?f=114&t=37223
-
Good-hardware lack?
-
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:
-
1. Ten days is a long time for me. 2. Then GTA San Andreas is unoptimized
-
This happens to me when using shaders on Race (haven't tested it on other gamemodes).
-
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 )
-
Removed*
-
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.
-
I do read. It's just that you could meant HIDING an image. destroyElement
-
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.
-
So, accounts cannot store tables as data?
-
In the night, that object looks like neon.
