Jump to content

chris1384

Members
  • Posts

    34
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by chris1384

  1. Hi there! Recently I have this problem with knockbacking the victim and instantaneosly stop the victim from walking/running. 1. I tried using spawnPlayer with current coordinates and position, but for a second it can be seen that once spawned it turns smoothly from 0 to 90 degrees. I wonder if there's an alternative for this: function cancelrun ( attacker, weapon, bodypart, loss ) if attacker ~= nil then if isPedOnGround(source) then local x,y,z = getElementPosition(source) local r = getElementRotation(source) local skin = getElementModel(source) local h = getElementHealth(source) spawnPlayer(source, x,y,z,r) setElementModel(source, skin) setElementHealth(source, h) end end end addEventHandler ( "onPlayerDamage", getRootElement(), cancelrun ) 2. With 'knockback' I mean if the victim is getting damage I want him to be pushed back. An example might be very helpful. Thanks!
  2. TOPIC UPDATE [⇉] NEW IP ADDRESS: mtasa://31.214.141.16:22145
  3. Welcome To RuthLess! (funi neim ik xd) UN SCURT ISTORIC: Serverul a fost infiintat pe data de 23.09.2016 din lipsa serverelor de calitate si de faptul ca scripting-ul este hobby-ul meu. La inceput serverul trebuia sa fie unul de Race, dar, vazand cat de jucat este acel gamemode (practic mort) mi-am schimbat parerea facand unul de Freeroam si incercand sa fac cel mai frumos server de Freeroam din Romania! De ce l-am numit 'RuthLess'? Este un cuvant ce ma reprezinta (sunt nemilos la DM/shooter sau alt GM cu arme) si mi s-a parut un cuvant potrivit pentru acest server. FEATURES: [⇉] Aproape toata interfata serverului este in ENGLEZA! [⇉] Resurse originale facute doar de fondator pentru un gameplay neasemanator cu celelalte servere! [⇉] Mape de tip DM Racing, Shooter, Drift, Jumps si arene de Deathmatch! [⇉] Panou Mod Manager (/mods) pentru activarea/dezactivarea masinilor, skin-urilor sau armelor modificate! [⇉] O tona de comenzi pentru modificarea masinii sau a caracterului! (Handling Editor, Upgrades, Paintjobs cu link-uri directe, Blinking Lights/Neons, Clothes, Walking/Fighting Styles etc.) [⇉] HUD si Scoreboard realizat in dx + animat pentru informatiile caracterului/masinii si panouri (Freeroam, Guide, Gang Panel etc.) pentru a ghida jucatorii noi! [⇉] Shadere (reflect, contrast, bloom), noi texturi aduse mapei cat si a masinilor (Taillights) pentru o grafica de mare calitate! [⇉] Serverul este actualizat zilnic cu noi comenzi/bugfix-uri si altele! [⇉] Alte resurse: Panou VIP, Speaker Manager cu Bass Effect (/sound), Anti-Spawnkill, Peacemode, Warps List (/warps), Level System, SpeedBooster, Drift System. [⇉] Comenzi pentru antilag destinate jucatorilor cu calculatoare vechi! CONECTARE + ALTE INFORMATII: Owner: chris1384 (skype: theidnx1384) Momentan serverul duce lipsa de host din cauza problemelor financiare. [⇉] IP ADDRESS: mtasa://85.186.215.104:22003 (localhost) [⇉] RECORD JUCATORI: 28 (27 - 29 dec. 2016) Totusi, cu primul server (Romania Minecraft Server realizat in 2011) am reusit sa strang 32/32 jucatori, printre acestia se numarau si vreo 12 admini! :)) WALKTHROUGH (PHOTOS): Cam atat. See you there!
  4. Yes I added the textures to meta, also the debugscript shows nothing. Maybe it has to do with the modded vehicles but I'm not sure..
  5. Hi there! For a while I have this strange issue with my taillights shader. I tried using a different texture but it seems it doesn't show up (it's black) and it stays like that even if the taillights resource is restarted or stopped. Is there a way I could fix it? Thanks. Clientside addEventHandler("onClientResourceStart", resourceRoot, function() local shader1 = dxCreateShader("texreplace.fx") local lightsoff = dxCreateTexture("vehiclelights128.png") engineApplyShaderToWorldTexture(shader1,"vehiclelights128") dxSetShaderValue(shader1, "gTexture", "vehiclelights128") local shader2 = dxCreateShader("texreplace.fx") local lightson = dxCreateTexture("vehiclelightson128.png") engineApplyShaderToWorldTexture(shader2,"vehiclelightson128") dxSetShaderValue(shader2, "gTexture", lightson) end) Shader texture gTexture; technique TexReplace { pass P0 { Texture[0] = gTexture; } }
  6. -- 18 & 19 GUIEditor.edit[1] = guiCreateEdit(9, 288, 420, 33, "Mesaj.", false, GUIEditor.window[1]) GUIEditor.edit[1] = guiCreateEdit(9, 320, 420, 33, "Telefon.", false, GUIEditor.window[1]) au acelasi nume schimba linia 19 cu: GUIEditor.edit[2] = guiCreateEdit(9, 320, 420, 33, "Telefon.", false, GUIEditor.window[1])
  7. Search on YouTube, there's some tutorials about making a server.
×
×
  • Create New...