-
Posts
2,608 -
Joined
-
Last visited
Everything posted by 12p
-
[REQ] Los Santos Police Dept. Website Template
12p replied to Robert_Pope's topic in Site/Forum/Discord/Mantis/Wiki related
Don't look at me -
This is from an unreleased version of Garry's Mod Map Editing that uses forced FPS (ofc won't work perfect because it needs 1 more event handler and defined "player" variable). addEventHandler ( "onClientCursorMove", getRootElement ( ), function ( cursorX, cursorY, absoluteX, absoluteY, x2, y2, z2 ) if not isChatBoxInputActive ( ) and not isMainMenuActive ( ) and not isConsoleActive ( ) and not isCursorShowing ( ) then local x1, y1, z1 = getPedBonePosition ( player, 6 ) setCameraMatrix ( x1, y1, z1, x2, y2, z2 ) end end ) It works perfect when using full code So I can tell: YES onClientCursorMove WORKS WITHOUT CURSOR SHOWING.
-
Many factors could affect it. Try giving yourself any quantity of money (different from 0) from the Admin Panel. If the problem stills...
-
I think there is a function for do that, not sure if it will work... setPedLookAt
-
http://es.wikipedia.org/wiki/Inteligencia_artificial Soren, te lo repito: éste es un tema algo complicado para ti; no tienes casi nada de experiencia en scripting. Sí, sabes poner los modelos, pero eso es menos de la mitad del trabajo. Para hacer inteligencia artificial de Misterix Mod, necesitarías usar las funciones siguientes: setPedControlState getPedControlState setPedAimTarget processLineOfSight setPedRotation setPedAnimation setTimer Sin contar que debes ingeniártelas para hacer que el misterix detecte que estás cerca o lejos, lo que podrías hacer con: createColCuboid / createColSphere "onColShapeHit" "onColShapeLeave" También está la opción de usar Slothbot: https://forum.multitheftauto.com/viewtop ... 52#p307652 Pero tengo entendido que no funciona en 1.1.1.
-
Probably it's the lag between one and the other player.
-
Use my "Garry's mod Map Editing System" source code, I've made a script for that. Click on "My public resources" in my sig, then click on "view all" in the resources part, and search for it. Download it and check the client code. It works using a table that contains the skins names (taken from Freeroam by myself) so you can configure it however you want
-
It should work already without cursor. Cod2Mod by bmat used it without cursor for the FPS cam.
-
Hay 2 argumentos posibles. Si especificas 1, la función toma un número entre 1 y el argumento. Si especificas 2, la función toma un número entre el primer y el segundo argumento. Para lo de saber quién es el último superviviente, busca acá: https://wiki.multitheftauto.com/wiki/Res ... sion_0.8.3 Creo que hay 2 que te sirven, uno de Finish y otro de Wasted.
-
Look at me. I could have helped but I didn't. Castillo did.
-
-
Fail link, Bssol.
-
That doesn't really matter, and gives the impression of "realism" (if every vehicle would turn exactly as the others, would be VERY unrealistic, drivers are not all clones of the same person).
-
Making jobs requires some patience, probably a good XML understanding, some MySQL/SQL/Account Data using, and much more things. It depends on the jobs you want to create. Bus/taxi and assassin are the simpliest. But there are more complex jobs. If you don't know how to make jobs, you should give up with it and make something easier. ROLEPLAY SERVERS ARE TOO MAINSTREAM, DUDE. BE ORIGINAL!
-
Puma markers are inside Skotinka maps.
-
You commited many mistakes. And also you may want to do something with the one who reached hunter, right? These are corrected codes with an argument for "createHunterAlert" to interact with the player who reached hunter. hunteralert_client: addEvent("createHunterAlert",true) addEventHandler("createHunterAlert",root, function ( hunterPlayer ) --hunterPlayer is a player element if isElement ( label ) then destroyElement ( label ) end local label = guiCreateLabel(10, 100, 150, 20, 'Hunter reached Run!', false) guiLabelSetColor ( label, 255, 0, 0 ) guiLabelSetHorizontalAlign ( label, "center" ) guiLabelSetVerticalAlign ( label, "center" ) guiSetFont ( label, "sa-ghotic" ) Animation.createAndPlay ( label, Animation.presets.guiMove ( 100, 200, 2000 ) ) Animation.createAndPlay ( label, Animation.presets.guiFadeIn ( 2000 ) ) end) hunteralert: function someoneReachedHunter(number, sort, model) if sort == "vehiclechange" and model == 425 then outputChatBox ( getPlayerName(source).." #FF0000has gotten the hunter! Run!", getRootElement(), 255, 255, 255, true ) triggerClientEvent("createHunterAlert",getRootElement(), source) end end addEvent("onPlayerPickUpRacePickup",true) addEventHandler("onPlayerPickUpRacePickup",getRootElement(),someoneReachedHunter) meta: <meta> <info name="Hunter alert" description="hunter alert" author="~KaRLoS~" type="script" version="1.0"/> <script src="client_anim.lua" type="client"/> <script src="hunteralert_client.lua" type="client"/> <script src="hunteralert.lua" /> </meta>
-
https://community.multitheftauto.com/index.php?p= ... ls&id=3313 https://community.multitheftauto.com/index.php?p= ... ls&id=3295 https://community.multitheftauto.com/index.php?p= ... ls&id=3301
-
The window, Aero.
-
Actually it is not a script or a simple model mod, Benox. It's a huge GTA Mod. For the download link, look how fast can u find it via Googling.
-
I didn't say "DON'T RELEASE IT", I just said I hope he won't. It's OBVIOUSLY his choice, jay.
-
1. No es necesario que postees el código. 2. Debes ponerlo entre tags [ lua ] y [ /lua ] 3. Seguro que lo pusiste en MTA San Andreas/server/mods/deathmatch/resources/...?
-
WHAT IS "PARACHUTE"!?!?!?!
-
Pues sigue estos pasos: En la consola, escribe "refresh" Espera un momentito... Si sale algo sobre tu resource que diga "failed to load", entonces escríbelo acá.
-
Notepad++ No te funca en el sv? O en LuaEdit?
