-
Posts
681 -
Joined
-
Last visited
-
Days Won
11
Everything posted by Zango
-
I liked Winky's suggestion, I made an example (it's pretty boring though, only camera moving around cities) http://img841.imageshack.us/img841/7479 ... inmenu.png fade a circling camera in around a city when player has isMainMenuActive true (requires static.png as alpha layer) looks win the total blackness on startup doesn't look bad either
-
печеночный паштет
-
I couldn't find any, maybe there ain't. I love fallout too (although it does get boring after a while, unless there's a lot) You can create it yourself, though Fallout resource ships with standard MTA resource bundle, all you need to is buy hosting or host yourself and you're almost done
-
It sounds like a complete mess, to use a third party hacking tool for a modification that allows you to do almost everything Freeroam is basically a "hack" for MTA if I may say so, it allows manipulation of much like game speed, time, weather, location, weapons, vehicles and more. For cheats, use the scripting function setWorldSpecialPropertyEnabled Else there are plenty of resources on the communíty site that will do more fun Don't download the freeroam there is at the community site, just /start freeroam when you're logged in as admin on your local and press F1
-
yes but isn't that because he extends the function with setTimer? setTimer(theAnim, source, 2000, 1 ) secondly, he doesn't transfer any argument as player in the client>server trigger? The argument player in setAnim is void then use source instead addEvent ('setAnim', true) addEventHandler ('setAnim', root, function () setPedAnimation (source, 'ped', 'FLOOR_hit_f') end )
-
it isn't I reckon
-
There aren't any functions to adjust gamma or similar on an element, I think If you're referring to the bugged ped gamma, there is a workaround.
-
You specified 1000 as distance argument, which is probably ignored. Try something below 300
-
start, stop, restart, refresh etc. are native built in MTA commands. They cannot be disabled. I'd advise you to do the following: onClientResourceStart and onResourceStart, cancelEvent() unless a dynamic parameter on the certain resource is true (do for stop too) I would only advise you to fix your ACL. I am not sure how your server will react if one decides to spam one of the above
-
I GOT BALLS OF STEEL
-
You need to install the data package associated with nightly Head over to nightly.multitheftauto.com and download the latest 1.1 Head over to download repository at mtasa-blue, and download MTA 1.1 data files Install first 1.1 then the data If this wasn't your problem, what Towncivilian said
-
being publicly available is only a matter of opened ports and disabled firewalls, but in order to have it on the internet list you need to have a stationary IP, unless you're going to manually add it everyday
-
did I remember to highlight clientside and your vehicle having to be upside down and command called once?
-
it won't work properly, or not atleast with the same result as the function I posted above I made a script for you in the pain of publishing that function without purpose local WORLD_DOWN = {0, 0, -1} local UPSIDE_DOWN_THRESHOLD = math.cos(math.rad(20)) function isVehicleUpsideDown (vehicle) local matrix = getElementMatrix (vehicle) local vehicleUp = {matrix_rotate (matrix, 0, 0, 1)} local dotP = math.dotP (vehicleUp, WORLD_DOWN) return (dotP >= UPSIDE_DOWN_THRESHOLD) end function matrix_rotate (matrix, x, y, z) local tx = x * matrix[1][1] + y * matrix[2][1] + z * matrix[3][1] local ty = x * matrix[1][2] + y * matrix[2][2] + z * matrix[3][2] local tz = x * matrix[1][3] + y * matrix[2][3] + z * matrix[3][3] return tx, ty, tz end function math.dotP(v1, v2) return v1[1]*v2[1] + v1[2]*v2[2] + v1[3]*v2[3] end function onVehicleFlip () local vehicle = getPedOccupiedVehicle (getLocalPlayer()) if vehicle then checkTimer = setTimer ( function (vehicle) if isElement (vehicle) then if isVehicleUpsideDown (vehicle) then outputChatBox ('Your vehicle is upside down!') killTimer (checkTimer) end else killTimer (checkTimer) end end, 100, 0, vehicle ) end end addCommandHandler ('vehicleflip', onVehicleFlip) copy and paste this into a clientside script, start it and type /vehicleflip you can see the result and play around for yourself isVehicleUpsideDown is the function which returns whether or not the vehicle is flipped as you called it
-
mybe the isVehicle...??? go on and test it!
-
When I do it: Zango executed command: givePlayerMoney(root, 1000) Command results: true [boolean] and $1000 flows into my moneymeter make sure you're using run and not crun
-
-
How do you execute givePlayerMoney clientside effective on all players? start resource runcode type: /run givePlayerMoney (root, math.random (1, 1000))
-
player functions gets player elements when you parse getRootElement(), it does work You need to do that functionality yourself, runcode runs a function from a string for you, using command /run (serverside) and /crun (clientside)
-
my bad, shouldn't write it this fast as a suggestion, if two or more results are found you could take the one with the least amount of characters from the searched, for example
-
Excuse me, but take 1 fucking minute to read the code and tell me what function do you think you must connect?