Jump to content

Ciastuuś

Members
  • Posts

    23
  • Joined

  • Last visited

1 Follower

About Ciastuuś

  • Birthday 20/08/1999

Details

  • Gang
    Lua
  • Location
    Poland
  • Occupation
    Help people in Lua

Recent Profile Visitors

1,429 profile views

Ciastuuś's Achievements

Civilian

Civilian (7/54)

18

Reputation

  1. Hi, I started translating your project from Ruskie into English so that everyone could understand what the game is about. Can you provide a discord so that I can contact you?
  2. Użyj tego, https://wiki.multitheftauto.com/wiki/OnClientRender
  3. Połączyłeś się z bazą danych? Masz nadane uprawnienia w bazie danych? Błędy w /debugscript 3?
  4. https://community.multitheftauto.com/index.php?p=resources&s=details&id=8209 https://community.multitheftauto.com/index.php?p=resources&s=details&id=4892
  5. function CommandHandler( thePlayer ) local loginACL = getAccountName(getPlayerAccount(thePlayer)) if isObjectInACLGroup("user."..loginACL.."", "Straz Pozarna") then setElementPosition (thePlayer, -2066.3000488281 ,17.700000762939 ,35.299999237061 ) outputChatBox("Witaj na spawnie!", thePlayer) else outputChatBox("Nie jesteś w Straży Pożarnej!", thePlayer) end end addCommandHandler ( "psp", CommandHandler )
  6. Hi, I have a question. How to rotate in a different direction? Because it looks like this: Server: Code: local x,y = guiGetScreenSize() local show = true function dxDrawCircle( posX, posY, radius, width, angleAmount, startAngle, stopAngle, color, postGUI ) if ( type( posX ) ~= "number" ) or ( type( posY ) ~= "number" ) then return false end local function clamp( val, lower, upper ) if ( lower > upper ) then lower, upper = upper, lower end return math.max( lower, math.min( upper, val ) ) end radius = type( radius ) == "number" and radius or 50 width = type( width ) == "number" and width or 5 angleAmount = type( angleAmount ) == "number" and angleAmount or 0 startAngle = clamp( type( startAngle ) == "number" and startAngle or 0, 0, 360 ) stopAngle = clamp( type( stopAngle ) == "number" and stopAngle or 360, 0, 360 ) color = color or tocolor( 25, 25, 25, 0 ) postGUI = type( postGUI ) == "boolean" and postGUI or false if ( stopAngle < startAngle ) then local tempAngle = stopAngle stopAngle = startAngle startAngle = tempAngle end for i = startAngle, stopAngle, angleAmount do local startX = math.cos( math.rad( i ) ) * ( radius - width ) local startY = math.sin( math.rad( i ) ) * ( radius - width ) local endX = math.cos( math.rad( i ) ) * ( radius + width ) local endY = math.sin( math.rad( i ) ) * ( radius + width ) dxDrawLine( startX + posX, startY + posY, endX + posX, endY + posY, color, width, postGUI ) end return true end local health = tonumber(getElementHealth(localPlayer)) or 0 local armor = tonumber(getPedArmor(localPlayer)) or 0 local hunger = getElementData(localPlayer, "gracz:glod") local thirsty = getElementData(localPlayer, "gracz:spragnienie") function drawCircleHud() if (show==true) then dxDrawCircle(x-250, 35, 0.1, 22.1, 1, 0, 360, tocolor(25, 25, 25)) dxDrawCircle(x-250, 35, 24, 2, 1, 0, health*3.6, tocolor(255, 50, 50)) dxDrawImage(1657, 24, 24, 24, "grafika/zycie.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawCircle(x-180, 35, 0.1, 22.1, 1, 0, 360, tocolor(25, 25, 25)) dxDrawCircle(x-180, 35, 24, 2, 1, 0, armor*3.6, tocolor(66, 134, 244)) dxDrawImage(1728, 24, 24, 24, "grafika/kamizelka.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawCircle(x-110, 35, 0.1, 22.1, 1, 0, 360, tocolor(25, 25, 25)) dxDrawCircle(x-110, 35, 24, 2, 1, 0, hunger*3.6, tocolor(158, 97, 29)) dxDrawImage(1800, 24, 24, 24, "grafika/glod.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawCircle(x-40, 35, 0.1, 22.1, 1, 0, 360, tocolor(25, 25, 25)) dxDrawCircle(x-40, 35, 24, 2, 1, 0, thirsty*3.6, tocolor(14, 173, 175)) dxDrawImage(1869, 24, 24, 24, "grafika/spragnienie.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end end addEventHandler("onClientRender", root, drawCircleHud) local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () for _, component in ipairs( components ) do setPlayerHudComponentVisible( component, false ) end end)
  7. Thanks, A bilingual system will soon be added, thanks to which English subtitles will also be available.
  8. Server name: [PL] Endless War - Polski Serwer Wojny Gangów | Discord.io/EndlessWar IP: mtasa://178.33.54.32:20008 Slots: 40 Gamemode: Gang Wars / TDM / Freeroam Forum: http://endlesswar.pl Discord: https://discord.io/EndlessWar We present you the server Endless War - Gang Wars / TDM with elements Freeroam's. Bored with the same ideas repeated over and over again, we decided to create a place where you can live, shoot and relax from the rules of roleplay and feel the original atmosphere of the single San Andreas. This is the official, reactivated and corrected gamemode. Playing at the Endless War has never been so enjoyable! There are 6 gangs to choose from: Grove Street Families, Ballas, Los Santos Vagos, Varrios Los Aztekas, Mafia i Policja. The action mainly takes place in the areas of Los Santos. Each team has unique skins, sets of weapons and headquarters. You can take on many interesting tasks on our server. Have you ever wanted to rob a bank, but no other server has allowed you to do it? It is possible with us! All you have to do is gather at least three gang members, break through to the diligently guarded bank and start the robbery. But you have to be careful, the police were ready for such an eventuality ... Do you need fast cash? What do you say about robbing other gang of drugs? All you have to do is sit down to Picador, get to the enemy's headquarters and come back with the goods to you. It's simple, right? Attack enemy territory to provide your team with an additional source of cash. Visit Ammunation, arm yourself, take a few people to help and get to work! Are you tired of the constant battle with other players? Duel 1v1? Derby? This and many other automatic attractions can be found on our server! On our server it is possible to choose a different sight, a weapon skins, mounting a silencer for a rifle and many other such things. On the server you can buy a VIP account for a low price. In return, you will receive an iPhone that gives you access to many interesting things, such as the possibility of spawn saved by you vehicle, teleporting the player to yourself and to him, the possibility of buying weapons anywhere, a special chat and many more! --- There are many other attractions that we have not mentioned here. You are also cordially invited! See you on the server! A bilingual system will soon be added, thanks to which English subtitles will also be available. --- Subtitles in language PL-EN
  9. Hi, Because we have an atmosphere called winter, why is it only in reality? Abo, because you do not have this script that will add a winter climate to your server and its players. Together with the team, we have created another project! F7 - turning off the snow on the screen Download: https://www55.zippyshare.com/v/cwmhgfTo/file.html Video:
×
×
  • Create New...