-
Posts
1,423 -
Joined
-
Last visited
-
Days Won
19
Everything posted by Tekken
-
getPedSimpleTask() maybe? Or getPedTask() search for reload task
-
toJSON(table) - returns JSON fromJSON(JSONHERE) - returns Lua table
-
local lowspawn = {}; local lowspawnradar = {}; lowspawn[#lowspawn + 1] = createColRectangle(z[1], z[2], z[3], z[4]); lowspawnradar[#lowspawnradar + 1] = createRadarArea(z[1], z[2], z[3], z[4], 200, 150, 0, 200); addEventHandler("onColShapeHit", resourceRoot, function(hitElement) for i = 1, #lowspawn do if source == lowspawn[i] then if getElementType( hitElement ) == "player" then setElementData(hitElement, "threat", "low"); end end end); Try to understand the code if you have any problems leave a reply!
-
Sorry the link is down as the topic got deleted: here you have the same version but free: https://github.com/NullSystemWorks/mtadayz
-
What is wrong exactly ? I can’t see from your photo! Please develop.
-
You will have to script it trough like player buy ammo for uzi > save data; player buy mp5 > save uzi ammo data to account > delete smg ammo > load smg ammo data for mp5; and so on and so forth for all weapons. good luck
-
Hello, here you have all the details: https://wiki.multitheftauto.com/wiki/Server_Manual good luck!
-
Rotating x, y or z? You may just need to do like onClientRender roatet object y+1 or something like that.
-
You may add getElementData(..) or "NoName" See if maybe the element data isn’t yet set thus outputting nil
- 2 replies
-
- getelementdata
- html
-
(and 1 more)
Tagged with:
-
I recommend the 7th as you have no experience, I find it very useful for absolute beginners!
-
What do you mean? Not integrated?
-
I personally right click and open in new tab and it works.
-
< less <= less or equal > greater >= greater or equal You put an capital I in script replace If with if
-
You should put > 0 as it can’t be less than 0 can’t be armor -10 can it?
-
Oh yes forgot server side onDamage can’t be canceled!
-
If getPedArmor(source) > 0 then When in doubt always check wiki GetPedArmor returns a float that can be from 0 to 100 of i recall correctly
-
You set time server side? getRealTime() — get real time of the server; setTime() — set in game time comparing with real time of the server!
-
New changes on the MTA forum site
Tekken replied to Mamedik's topic in Site/Forum/Discord/Mantis/Wiki related
Forum can be both black and white and also Night mode, but the friendship thing might be a nice idea.