-
Posts
153 -
Joined
-
Last visited
Posts posted by Spanish4Life
-
-
Why not to make peds render, like entities on Minecraft?!?!?!?
Try to do it
Well, i don't know C++. But if people knowd to make glue script, with that mathematics
local px, py, pz = getElementPosition(getLocalPlayer()) local vx, vy, vz = getElementPosition(vehicle) local sx = px - vx local sy = py - vy local sz = pz - vz local rotpX = 0 local rotpY = 0 local rotpZ = getPedRotation(getLocalPlayer()) local rotvX,rotvY,rotvZ = getElementRotation(vehicle) local t = math.rad(rotvX) local p = math.rad(rotvY) local f = math.rad(rotvZ) local ct = math.cos(t) local st = math.sin(t) local cp = math.cos(p) local sp = math.sin(p) local cf = math.cos(f) local sf = math.sin(f) local z = ct*cp*sz + (sf*st*cp + cf*sp)*sx + (-cf*st*cp + sf*sp)*sy local x = -ct*sp*sz + (-sf*st*sp + cf*cp)*sx + (cf*st*sp + sf*cp)*sy local y = st*sz - sf*ct*sx + cf*ct*sy local rotX = rotpX - rotvX local rotY = rotpY - rotvY local rotZ = rotpZ - rotvZ
I don't know if scripting guru's will not know to do that
-
Why not to make peds render, like entities on Minecraft?!?!?!?
Well, chunks of 16x16x(currentZAxis)^2). It creates the peds only in that "chunk". If 2 is nearby the same chunk, in same of 16^2x16^2x((currentZAxis)^2)^2, 16x16x(currentZAxis^2)^2. When the ped goes out that "chunk", syncher stops on that entity and goes to create another ped, in the begging of the chunk, in the specified path.
That way this can be fixed making a function, for scripting, maybe:
toggleNPC(bool, [path = int, canDrive = bool])
-
bind 0 0 0 0 0 0 0 0 0 0 0
it's 12 ints of colours.
-
Yes
but i don't think so. He only made some more touches with the ball, nothing more.
How is sccer going in your country, Z3RB14N?
-
zomfg
/me calling moderator.
Please, relax!
-
add a place where we can see the new or and HOT topics
If "View new posts" wasn't there I would've killed myself ages ago trying to moderate the forum.
Towncivilian FTW
a onine radio We need to make the forums anything to make this interesting. If I search in a forum, i don't wanna a forum that has the average of 10 posts by day.
-
Maybe events and mini-games.
Just, try to recreate original GTA San Andreas concept (without missions), and you'll get a good freeroam GM
They would be pretty tough to recreate in LUA due to their size. The Pool minigame alone has something like 8000 lines of code in the SCM.
And how do you know that if GTA extra scripts are obfuscated?
-
https://wiki.multitheftauto.com/wiki/PlaySound
(Sound file has to be predefined in the meta.xml file with tag.)
WIYF
-
Nono, ALL players are experiencing this while browsing the "Internet" ServerBrowser page.
-
-
Did you download steam GTA:SA songs? Maybe it are broken ig.
-
it's a minor issue with the way the killing weapon is found. when someone dies mta knows which player caused the death, but does not know what weapon caused it (there are a few exceptions, fire from a molotov for instance), so it just checks what weapon the killer is holding at the time of death. this way, if you kill someone with a slow projectile like a rocket it can look like you killed him im a completely different way, or in case of the parachute, if you punch someone to death whike having it selected it will assume the parachute was the killing weapon.
Thanks you.
-
Must be because getLocalPlayer() is only CLIENT SIDE and onPlayerWasted is a server side event.
Yea, good job solidsnake Always you are right.
Well you have to do that server sided and don't use getLocalPlayer() func.
Haha, no: i only needed onClientPlayerWasted. I have strange behaviour, howewer:
When I type kill, shows "63" from killer and "2089943303" for weapon. Also, when i drowned i got "53" from killer, why this strange behaviour?
Then use onClientPlayerWasted -.- -
Re-Check avobe post, please.
-
Must be because getLocalPlayer() is only CLIENT SIDE and onPlayerWasted is a server side event.
Yea, good job solidsnake Always you are right.
Well you have to do that server sided and don't use getLocalPlayer() func.
Haha, no: i only needed onClientPlayerWasted. I have strange behaviour, howewer:
When I type kill, shows "63" from killer and "2089943303" for weapon. Also, when i drowned i got "53" from killer, why this strange behaviour?
-
Thanks aibo to delete my post
Maybe more forum plug-ins?
-
Barcelona >!
ATM Spain - England (0-0) (live: http://www.marca.com/marcador/futbol/20 ... 7/ing_spa/ )
I'm downloading crests of teams, when finished i will upload it to my web site. I have only Spain and some more ones at /Escudos_futbol/ dir.
EDIT1: Woot - we lose 1-0
-
I prefer blacklist than copyright. If copyright it's free:
1. Possible legal trouble;
2. Some from here are minors;
3. People can claim a false "copyright" (see 1. and 2.)
4. MTA is open-source.
5. Lua is open-source.
And surely more i'm forgetin.
-
MTA Team is working on a Black List system for v1.2. It may help to reduce those children-managed servers.
Black-list aka IP blocking right?
-
Today i've been looking stats and found that strange thing:
Parachute
1 kills
https://community.multitheftauto.com/index.php?p=global
bug or not?
-
Ew, that hurts...
Anyways, what team do you support?
-
-
Today, GMT+01:00 Bosnia-Herzegovina Portugal, Thoughts? I swear will win 2-1 portugal w/CR7.
P.D: I saw on TV chile lose on mundial classifications I apologize.
-
but if "shaders" do one more atleast >_> or change it, it sounds like a liar
SIPL!
in B.L.A.S.T.
Posted