-
Posts
1,423 -
Joined
-
Last visited
-
Days Won
19
Everything posted by Tekken
-
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.
-
Today i maked this rob system. How it work's ? You just need to be less than 7 meters from an player and type '/rob' and you will start to rob that player. After 10 seconds you will receive money from victim. If that player attack you or if you go more than 7 meters from that player, the rob will brake! Note: Money recived from victim is a math.random 14-56 % off their money, and if victim have less that 5000$ you can't rob it. Download ? https://community.multitheftauto.com/in ... s&id=11270 I have a suggestion! Then say Not tested! Thank's for you'r time!
-
Hi, I want to get 70 % off a player money but i don't know how much money that player have, how to due that ?
-
I am a Street Cat, as my rank say's, I DON'T GIVE A FU*K !
-
Good job, keep it going.
-
Nice, good job man.
-
Thank's
-
Good now i know why my password recover didn't work Thank's.
-
@xXMADEXx You surprise me again as you always do, good job man and keep it up.
-
Why is it compiled ? is just 3 lines of code function outputWastedMesage() outputChatBox("You died!", source, 255, 0, 0, false) end addEventHandler("onPlayerWasted", root, outputWastedMesage)
-
WoW just WoW, Good job man..good job.
-
Good job man keep it up