-
Posts
2,608 -
Joined
-
Last visited
Everything posted by 12p
-
for i = 0, 10 do outputChatBox ( " " ) end outputChatBox ( "LoL." )
-
Who are you to judge who should and who shouldn't...? Suppose I have done a full gamemode. I'm 15, okay? I want to host this in a 24/7 server. But I cannot do it, because "I'm 15" and I don't have PayPal money or a credit card. BUT I WORKED A WHOLE MONTH IN THIS GAMEMODE! I DESERVE AN OPORTUNITY! Meh, we don't care. If you are under 15 you can't do anything, child. That's unfair. This also goes to Poeds, who seems to be trying to offend me.
-
Meta(XML)Gamer. If people wants to learn something, they can ask on forums/put effort on looking for what they want to do. But think about what you said for a minute. It's like Paradise Roleplay Era; all the RPG servers were using that engine.
-
(Ofc not the best PC around here )
-
No. I meant I worked 3 hours in one day to make a fully-working and nice-looking login GUI from scratch. Btw I worked 4 days and I've got an account-based character system (that includes loading and saving data).
-
viewtopic.php?f=116&t=35793
-
I still think the problem are shaders. I don't use ENB and I have this skin deformation whenever I am using them on Race.
-
Muy fácil, "mi querido amigo". https://wiki.multitheftauto.com/wiki/FindRotation <-- Copia el source. addEventHandler ( "onClientPlayerTarget", getLocalPlayer ( ), function ( e ) if getElementType ( e ) == "player" then local x1, y1 = getElementRotation ( source ) local x2, y2 = getElementRotation ( e ) if math.abs(findRotation ( x1, y1, x2, y2 )) > 90 then toggleControl ( "fire", false ) end end end) addEventHandler ( "onClientKey", getLocalPlayer ( ), function ( key, state ) if key == getKeyBoundToCommand ( "aim_weapon" ) and state == false then toggleControl ( "fire", true ) end end )
-
I'm gonna use the source code of this script for my server. Thank you very much for this awesome script Bump
-
So 17 MB per second is not enough to avoid this game lag? 1 GB RAM DDR SDRAM 163 MHz Intel Pentium 4 2.8 GHz NVidia Geforce 6200 AX 256 MB Maybe is the RAM, or the processor. But something makes "zombies" resource lag
-
So every poor player that has a bad PC (like me) will be kicked from a server (s)he wants to play.
-
remove all the piece of code related to onClientCursorMove. That's the first step.
-
Good AI is advanced stuff. If you don't think so, it's because you have exp.
-
Thank you one more time
-
I already edited this, but here you go (again): 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", root, setFPSCamera ) elseif not fpsmode then outputChatBox ( "View Mode |OFF|", 255, 255, 255, true ) setCameraTarget ( player ) removeEventHandler ( "onClientPreRender", root, setFPSCamera ) end end addEventHandler ( "onClientPlayerVehicleEnter", player, toggle ) addEventHandler ( "onClientPlayerVehicleExit", player, toggle )
-
viewtopic.php?f=108&t=32172
-
Would be good. But we need seriously start thinking about the beginners' tutorials, not advanced stuff. Introduction To Lua is not very clear (a friend of mine didn't understand anything but the Meta system).
-
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", root, setFPSCamera ) elseif not fpsmode then outputChatBox ( "View Mode |OFF|", 255, 255, 255, true ) setCameraTarget ( player ) removeEventHandler ( "onClientPreRender", root, setFPSCamera ) end end addEventHandler ( "onClientPlayerVehicleEnter", player, toggle ) addEventHandler ( "onClientPlayerVehicleExit", player, toggle ) ? I'm getting bored of giving you new code everytime you say "dont work", and don't even try to help me to help you (debugging).
-
Simple. People is like that, 'kay? I know some guys that want to learn, they are the exception. I'm aiding them. But I bet 90% of the people wants everything BUT without having learn. Y do u think mappers use Toolbox and Puma Markers?
-
However, the best way to get a popular server is to create your own and creative scripts. Ofc they must be FFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUN
-
Depends. For me, to script a RP server from scratch with character system plus a beauty animated GUI now took me 3 days. I have 1 year experience. Take that as reference. You can get started in the following links: https://wiki.multitheftauto.com/wiki/Resources https://wiki.multitheftauto.com/wiki/Scr ... troduction https://wiki.multitheftauto.com/wiki/Debugging https://wiki.multitheftauto.com/wiki/Int ... ng_the_GUI In https://wiki.multitheftauto.com/wiki/Main_Page you can find all the reference you need - functions examples, functions syntax, useful functions, about variables, etc. And you can ask for help at viewforum.php?f=91.
-
No, sorry. You could pay for that script. Ask someone experienced. OR YOU COULD LEARN TO SCRIPT We need seriously more good scripters around here
