-
Posts
90 -
Joined
-
Last visited
Everything posted by 28WL
-
0% working. I'll use Castillo cooked Sounds Player and also I'll modify to this resource.
-
Please, help me. If I write that "/extermination" command ---> only I will see it, other players not? Client script --- Player, who is one the groups, write a command --- only he will see? Server script --- If somebody one of the groups member will write a command, then all players will see these messages? And this is client script, nobody will see it, just who wrote it? addCommandHandler ( "extermination", function ( MissionExtermination ) if isAccountInGroup ( { "Exterminator" "Soldier" }, getAccountName ( getPlayerAccount ( MissionExtermination ) ) ) then outputChatBox("^ ATTENTION WARNING!", MissionExtermination, 255, 0, 0, true) outputChatBox("^ Started mission: Extermination.", MissionExtermination, 255, 0, 0, true) else outputChatBox ("^ You have no acces to that command.", MissionExtermination ) end end ) function isAccountInGroup ( groups, account ) local theGroup = false for _, group in ipairs ( groups ) do if isObjectInACLGroup ( "user.".. account, aclGetGroup ( group ) ) then theGroup = group break end end return theGroup end So I need to create (add) server script? addEvent ( "extermination", true ) addEventHandler ( "MissionExtermination", root, function ( MissionExterminationStart ) outputChatBox("^ ATTENTION WARNING!", MissionExterminationStart, 255, 0, 0, true) outputChatBox("^ Started mission: Extermination.", MissionExterminationStart, 255, 0, 0, true) end )
-
Susisiekit su manimi, skype: HeroKileris. Spėk, kiek aš uždibsiu per mėnesį ir kiek pas mane žais žaidėjų. Šiuo metu mano serveryje apie 80 28WL resursų, kiek pas jus?
-
Help me, please. How to make: A) If you click on the button, sound starts playing, you hear it. B) If you click on the button again, that sound stops in directed time (for example in 10 seconds). ...buttons mark, unmark functions and other things (from login.lua DayZ). function clickPanelButton(button, state) if button == "left" and state == "up" then local element = getElementData(getLocalPlayer(), "clickedButton") if element then local info = getElementData(element, "info") if info and info == "login" then do local username = guiGetText(Login_Edit[1]) local password = guiGetText(Login_Edit[2]) if tostring(username) ~= "" and tostring(password) ~= "" then triggerServerEvent("onClientSendLoginDataToServer", getLocalPlayer(), username, password) else reason = "Missing Password or Username." outputChatBox("[Login]:#FF9900 " .. reason, 255, 255, 255, true) end end elseif info and info == "intro" then do playSound("Sounds/Intro.mp3") end elseif info and info == "guest" then showLoginWindow(false) elseif info and info == "register" then local username = guiGetText(Login_Edit[3]) local pass1 = guiGetText(Login_Edit[4]) local pass2 = guiGetText(Login_Edit[5]) if tostring(username) ~= "" then if tostring(pass1) ~= "" then if pass1 == pass2 then triggerServerEvent("onClientSendRegisterDataToServer", getLocalPlayer(), username, pass1) else reason = "Passwords not match." outputChatBox("[Register]:#FF9900 " .. reason, 255, 255, 255, true) end else reason = "No password was entered." outputChatBox("[Register]:#FF9900 " .. reason, 255, 255, 255, true) end else reason = "No username was entered." outputChatBox("[Register]:#FF9900 " .. reason, 255, 255, 255, true) end end end end end addEventHandler("onClientClick", getRootElement(), clickPanelButton) ...other scripts, functions.
-
Okey, I deleted 125 Objects and there are no bugs. Remember that: Maximum numbers of Elements (Objects, Vehicles, Fires, Peds...), which could be added to your server, are: ~15000-17000. I really don't know the number, but in my server there are dayz loots + extra loots, which means are about ~3000x3 or x4 or x5 and realistic map with 6000 objects and also bases with about ~2000-2500 objects, + 200 (vehicles, tents).
-
I created more than 8000 objects +DayZ items in my server and I can go threw some of them. And why? Is there any limit (options or something else)? If there is a limit, how I can set it to 10000 or more objects? Where it I can found? Is there any script available to use like streaming...? Can you make a new version of that MTA:SA and set limit to fucking 999999999999? Not: Oh my F******** God, suggest me what to do... Streamed elements: Vehicles: 110 Peds: 140 Objects: 350 Fires: 60 Pickups: 620 Radar blips: 175 3D markers: 32 Coronas: 64 All in all Elements: 65535
-
Sveiki lietuviai. Aš esu GTA:SA DayZ Version [www.28WL.UZAS.LT 28 Weeks Later After Virus Infection] sukūrėjas. Kuriau šį serverį nuo tada, kai pati DayZ modifikacija atsirado MTA:SA žaidime (tie, kas žaidė nuo tada, turi žinoti, kad jau praėjo daugiau nei 2 metai - o tiek laiko kūriau). Mano serveryje yra virš 65 unikalių 28WL resursinių failų, kurie užima apie 500MB disko vietos. Žinokit, kad nėra nei vieno DayZ serverio, kuris būtų geresnis už mano... Serveris visiškai subalansuotas, unikalus... Nėra bugų, kurių nesugebėjo panaikinti MTA:SA DayZ sukūrėjai... Turbūt jau supratot, kad esu programuotojas, scripteris, maperis. Taip, aš esu lyg ir expertas, profesionalas ant šių dalykų. Netikit? Tuomet kviečiu jus apsilankyti mano serveryje - pamatysit mano kūrinius. Daugiau informacijos, skype: HeroKileris.
-
//CLIENT SIDE addCommandHandler ( "ps1", function ( plays_1 ) if isAccountInGroup ( { "Owner", "Admin" }, getAccountName ( getPlayerAccount ( plays_1 ) ) ) then setTimer(function() playSound("sounds/sound_1.mp3") end, 1000, 1) else outputChatBox ("[info]: You have no acces to that command.", plays_1 ) end end ) function isAccountInGroup ( groups, account ) local theGroup = false for _, group in ipairs ( groups ) do if isObjectInACLGroup ( "user.".. account, aclGetGroup ( group ) ) then theGroup = group break end end return theGroup end //SERVER SIDE triggerClientEvent??? How it should be? Well, what I need to write in server side? I want to make that only members of that group could play this sound to everyone. Please, if you can write a script here.
-
How I can make this script only for groups: Owners, Admins ---> and it should hear everyone when one of this group members will write a command /PS1? addCommandHandler ( "PS1", function ( Play_Sound_1 ) if isAccountInGroup ( { "Owner", "Admin", "28WLSF" }, getAccountName ( getPlayerAccount ( Play_Sound_1 ) ) ) then setTimer(function() playSound("Sounds/Sound_1.mp3") end, 1000, 1) else outputChatBox ("* You have no acces to that command.", Play_Sound_1 ) end end ) function isAccountInGroup ( groups, account ) local theGroup = false for _, group in ipairs ( groups ) do if isObjectInACLGroup ( "user.".. account, aclGetGroup ( group ) ) then theGroup = group break end end return theGroup end I tried to make it, but I can't hear it. Write, how it should look like, where is the problems? Thanks.
-
How to make that command only to groups: Owner, Admin. How it should look like? ped = createPed ( 285, -2001, 122, 5001, 0, 0, 0) addCommandHandler( "weaponped", function ( player, command, id, amount ) if not tonumber ( id ) then return end if not tonumber ( amount ) then amount = 1 end giveWeapon( ped, id, amount, true ) end ) function isAccountInGroup ( groups, account ) local theGroup = false for _, group in ipairs ( groups ) do if isObjectInACLGroup ( "user.".. account, aclGetGroup ( group ) ) then theGroup = group break end end return theGroup end === How I need to do? As you see there are something wrong: addCommandHandler( "weaponped", function ( player, command, id, amount ------- cmdweaponped?) if isAccountInGroup ( { "Owner", "Admin" }, getAccountName ( getPlayerAccount ( cmdweaponped ) ) ) then addCommandHandler( "weaponped", if not tonumber ( id ) then return end if not tonumber ( amount ) then amount = 1 end giveWeapon( ped, id, amount, true ) end else outputChatBox ("* You have no acces to that command.", cmdweaponped ) end end )
-
How to make a ped holding weapon? Just I need this thing.
-
1) posX="-2001" posY="122" posZ="5001" rotX="0" rotY="0" rotZ="90". 2) posX="-2000" posY="110" posZ="5001" rotX="0" rotY="0" rotZ="90". 3) posX="-2015" posY="115" posZ="5001" rotX="0" rotY="0" rotZ="90". You see 1, 2, 3 and there can be more. How to make one of the peds to move periodic or just one time - stand there or go back to the position where he was created or next position? How it should look like? And how to make that he could have a directed weapon or do an animation. *By: command. *By: after script started instantly or after directed time elapses. *By: your mind or example. ____________________________________________________________ You know, I mean about the guarding ped(s) or like standing for a look.
-
Well, without hacking other servers there will be no 100% protection. You know that everyone can steal your server's (client, images, sounds...) files and drop them into their servers...
-
Is that is possible to protect my unique server (files, scripts, resources)? I know that I can make a script, which could delete all downloaded files as I know that I can code them, but... Is this is possible to get a protection from MTA:SA creators. For example, when I see that in somebody's server are my (some) created scripts, I can report it to somebody who are responsible for my protection. My protectors comes to that server, see is that is real and down their server or warn them and order to delete that files?
-
When you write this command /Teleport, you go to: posX="-2016.80005" posY="130.2" posZ="5001" rotX="0" rotY="0" rotZ="0". How It should look like, what I need to do? addCommandHandler ( "Teleport", function ( Teleport ) if isAccountInGroup ( { "Owner", "Admin" }, getAccountName ( getPlayerAccount ( Teleport ) ) ) then setTimer(function() end, 1000, 1) else outputChatBox ("* You have no acces to that command.", Teleport ) end end )
