-
Posts
1,413 -
Joined
-
Last visited
-
Days Won
19
Everything posted by Tekken
-
Example please ?
-
Can you make an example please ?
-
I want to create a vehs table and in that table to store more vehs like this: dbQuery(db, "CREATE TABLE IF NOT EXISTS vehs (veh1(x,y,z), veh2(x,y,z))") Can i do that in any way ?
-
For now, that's not possible ...
-
sterge resursa si incarco din nou, este posibil sa se fi corupt vreun fisier cand ai urcato prima oara.
-
Hmm, were did you get Tent + Vehicle system ? Edit: Legit ^.^
-
Thank's, some times i am so stupid.
-
Nothing changed, and I already read those...
-
Hi, Today I bought a VPS and I installed MTA Server on it but when I type ./mta-server to start server is keep saying -bash: ./mta-server: No such file or directory Any idea what ?
-
Server function toggleInvis(thePlayer) local id = getElementModel(thePlayer) if id == 179 then local alpha = getElementAlpha(thePlayer) if alpha == 255 then setElementAlpha(thePlayer, 0) else setElementAlpha(thePlayer, 255) end else setElementAlpha(thePlayer, 255) end end addCommandHandler("invis", toggleInvis) Client function showOnShoot() setElementAlpha(source, 255) end addEventHandler("onClientPlayerWeaponFire", getLocalPlayer(), showOnShoot)
-
That looks good, what you think? https://gta-mp.net/ WIll MTA Team working in something like this ?
-
Pare o idee buna dar mai pune si alte GMuri nu doar RP ca debine plictisitor si cum mie nu-mi pace RPu' din romania...., anyway succes!
-
S-a inventat PMu' , folositil...
-
Try this: function killCommand(thePlayer) setTimer(killPed(thePlayer, thePlayer), 5000, 1) end addCommandHandler("kill", killCommand)
-
Beacause you come here for help and if someone need help we can send him directly to this post and he can solve the problem faster. That's why!
-
If you delete your codes then you don't deserve to be helped anymore.....
-
Asta e doar un exemplu NU va merge la ce iti trebuie tie, pentru ce vrei tu mai ai nevoie de urmatoarele functii: getCameraMatrix getPedBonePosition getScreenFromWorldPosition isLineOfSightClear dxDrawImage Client: local width,height = guiGetScreenSize() function dxDrawOnDuty() dxDrawImage ( screenWidth - x, y, width, height, 'image.png') end addEvent("dxDrawOnDuty", true) addEventHandler("dxDrawOnDuty", dxDrawOnDuty) Server: function OnDuty(player) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup("Admin")) then triggerClientEvent(player,"dxDrawOnDuty", player) end end addCommandHandler("onduty", OnDuty)
-
Nu se numeste pentru ca nu exista pe community, dar iti poti crea una folosind dxDrawImage
-
It refare when the car hit the zombies normally would not fall but in this video zombie falls
-
You should give it a try
-
onPlayerJoin onPlayerLogin setPlayerHudComponentVisible
-
Doesn't realy do much. I don't have anybody to help me to test it but it should work. Im sure there's loads of people who would like to help, all you gotta do is ask. Of course I have some friend's but they wasn't online at that moment. Thank's.
-
Try this: function wan() for theKey,thePlayer in ipairs(getElementsByType("player")) do local theTeam = getPlayerTeam(thePlayer) local wanted = getPlayerWantedLevel(thePlayer) if wanted > 0 and theTeam == "San Andreas Police Department" then setPlayerWantedLevel (thePlayer, 0) end end end setTimer(wan,100,0) addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), wan )
-
This code combine client and server, i tried to fix it but i don't understaind nothing from it. Server function playersexo(theTeam) showCursor(false) destroyElement(wal) destroyElement(fundo) destroyElement(mulher) destroyElement(home) if (client ~= mulher) then local spawnTeam = createTeam ("Assasin") outputChatBox ("Chào mừng bạn đã đến với thành phố hỗn tạp này!! GOOD LUCK...", client, 255, 0, 0, false) outputChatBox ("Bạn đã có skill của 1 sát thủ!! Hãy ấn F7 để xem hỗ trợ", client, 255, 0, 0, false) spawnPlayer (client, 0, 0, 5, 0, math.random(0, 288), 0, 0, spawnTeam) fadeCamera (client, true) setCameraTarget (client, client) giveWeapon(client, 8, 1) giveWeapon(client, 1, 1) elseif(client ~= homem) then local spawnTeam = createTeam ("Gunner") outputChatBox ("Chào mừng bạn đã đến với thành phố hỗn tạp này!! GOOD LUCK...", client, 255, 0, 0, false) outputChatBox ("Bạn đã có skill của 1 Gunner!! Hãy ấn F7 để xem hỗ trợ", client, 255, 0, 0, false) spawnPlayer (client, 0, 0, 5, 0, math.random (0,288), 0, 0, spawnTeam) fadeCamera (client, true) setCameraTarget (client, client) giveWeapon(client, 8, 1) giveWeapon(client, 1, 1) end end addEvent("PlayerSexo", true) addEventHandler("PlayerSexo", root, playersexo) Client function sexo() showCursor(true) wal =guiCreateStaticImage(0, 0, 1, 1, "images/wal.jpg", true) fundo =guiCreateStaticImage(0.15, 0.28, 0.72, 0.63, "images/fundo.png", true, wal) home =guiCreateStaticImage(0.2, 0.28, 0.2, 0.6, "images/Gunner.png", true,fundo) mulher =guiCreateStaticImage(0.6, 0.28, 0.2, 0.6, "images/Knifer.png", true,fundo) end addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function() if (source == home) then triggerServerEvent("PlayerSexo", localPlayer) elseif (source == mulher) then triggerServerEvent("PlayerSexo", localPlayer) end end ) addEventHandler("onClientMouseEnter", home, false) addEventHandler("onClientMouseLeave", home, false) addEventHandler("onClientMouseEnter", mulher, false) addEventHandler("onClientMouseLeave", mulher, false) function home2() guiStaticImageLoadImage(home, "images/Guner.png") end function mulher2() guiStaticImageLoadImage(mulher, "images/Knifer.png") end
-
I don't have anybody to help me to test it but it should work.