Jump to content

Shady1

Members
  • Posts

    906
  • Joined

  • Last visited

  • Days Won

    61

Everything posted by Shady1

  1. https://wiki.multitheftauto.com/wiki/AddPedClothes https://wiki.multitheftauto.com/wiki/CJ_Clothes verifique este site e tente como quiser códigos de amostra estão disponíveis
  2. You can actually do it with Luac encrypted to protect your Lua source file,but remember save and backup your Lua file before making Luac,because after you encrypt your Lua file with Luac, it is irreversible, so you can't restore it, so save your files. If you want to keep it, most of the shared functions are transferred to the server side,so you give less transfer to client side,but in terms of performance it may not be good to load all the load on the server side You can use cache=false , it will just prevent it from downloading your source file in MTA file location and client side will not be able to access this file https://forum.multitheftauto.com/topic/67224-luacmtasacom-and-us/
  3. Shady1

    Ayuda

    https://wiki.multitheftauto.com/wiki/SetPlayerHudComponentVisible
  4. Shady1

    error CD16

    Avoid if you are using GTA:SA crack version because you have to download original version
  5. Shady1

    error CD16

    hello welcome to the forum you have more than one non-standard, can you reinstall GTA:SA without mods and cleanly?
  6. addEventHandler("onClientResourceStart", resourceRoot, function() setWorldSpecialPropertyEnabled("randomfoliage", false) end ) server-side
  7. Welcome to The Fade2Black Communtiy soon Hello everyone, I'm Shady(Eren) I want to introduce you a new game mode,In this game mode, the GTA:SA map was completely removed and we made a new map instead. Before I talk about the features of the server, I would like to explain our purpose. I got support from many people before making these systems and thanks to their help I got a good system so I have to thank them. As F2B managers, we are growing our staff. What is DayZ: it is a survival game mode, you can find loot in front of houses or in front of ruins and loot them,When you improve yourself, you can fight with other players or zombies and survive,You have to create your own team, your own group, because DayZ is a very difficult game... Contributors : Burak2346 Arfelious Nebla Server features : Airdrop : (Once you have Road Flare loot, use the loot and it will airdrop to your area) BaseBuild : (you should get a lot of loot and you can make a few objects) Craft : (You can make weapons with unnecessary loot and strengthen yourself.) Levels : (When you kill players or zombies you will gain experience points, then your Level will increase. You will have different loot for each Level) Shop : (You can buy a new market panel a lot of loot and gift it to your friends.) NPC : (There are NPCs in designated areas, when you go to these NPCs, they will give you tasks and you will earn gifts in return.) For more information, you can join our Discord page. : Discord https://discord.gg/DeK2yS44PM As the Fade2Black team, I would like to share the images of the new maps with you,After the server is active, we will share in-server screenshots... Server Mods ready : %98 Server Map ready : %100 Server tested : %50
  8. hello, welcome to forum,You can use getLocalPlayer() only on the client side, if you want to reach the player, use the word client. This is the player on which the event is run. --serverside: addEvent("eventNameHere", true) addEventHandler("eventNameHere", root, function() --use client word here --example: givePlayerMoney(client, 1000) <-- giving 1000 to player end ) --clientside. triggerServerEvent("eventNameHere", localPlayer)
  9. change function : function giveMoney(player)
  10. hello welcome to the forum,The code you provided appears to be a script that gives a player $1000 in-game money, but only allows them to use the command once per day. It appears to be functional, however, there are a few things that can be improved: 1- The variable `currentTime` is not being defined, you should use `getRealTime().timestamp` to get the current timestamp. 2-The `lastUsed` table is defined at the top of the script, but it is not being reset, so players who use the command once will not be able to use it again until the script is restarted. To fix this, you can add a line at the top of the `giveMoney` function to check if the current day is different from the last time the player used the command and reset the `lastUsed` table if it is. 3-The output message should be improved, it is better to use `outputChatBox("You can only use this command once per day. Wait "..timePassed.." seconds.", player)` instead of just "You can only use this command once per day.". This way the player will know when they can use the command again. local lastUsed = {} local lastDay = 0 function giveMoney() local player = source local playerName = getPlayerName(player) local currentTime = getRealTime().timestamp local currentDay = getRealTime().monthday if currentDay ~= lastDay then lastUsed = {} lastDay = currentDay end if lastUsed[playerName] then local lastUsedTime = lastUsed[playerName] local timePassed = 86400 - (currentTime - lastUsedTime) if timePassed > 0 then outputChatBox("You can only use this command once per day. Wait "..timePassed.." seconds.", player) return end end givePlayerMoney(player, 1000) outputChatBox("You have received $1000.", player) lastUsed[playerName] = currentTime end addCommandHandler("getgift", giveMoney) I want to try this code, hope it will work for you
  11. hello welcome to forum,I did not understand what you want to do but I wanted to prepare a code... local vehicles = { ["vehicle_name"] = true --You can replace the "vehicle_name" with the name of the vehicle you want to use and you can add more vehicles to the list. } function onKey( button, pressOrRelease ) if pressOrRelease == true then if button == "x" then local vehicle = getPedOccupiedVehicle(localPlayer) if vehicles[getVehicleName(vehicle)] then -- turn on the headlights setVehicleOverrideLights(vehicle, 2) end end elseif pressOrRelease == false then if button == "x" then local vehicle = getPedOccupiedVehicle(localPlayer) if vehicles[getVehicleName(vehicle)] then -- turn off the headlights setVehicleOverrideLights(vehicle, 0) end end end end addEventHandler("onClientKey", root, onKey)
  12. Shady1

    Client

    Delete your MTA:SA and GTA:SA files, then download them again to a clean folder without mods,and you should run the full virus scan,If the problem still persists, buy the GTA:SA package from g2a.com...
  13. Shady1

    help plese i wanna play

    hi welcome to forum,you are having more than one non-standard problem, please do a clean install of GTA:SA again without mods and if you have another disk, install from there... if the problem still persists, please buy from GTA:SA g2a.com
  14. https://forum.multitheftauto.com/topic/100919-cd16-disconnected-error/ maybe this will work for you
  15. Shady1

    Erro CD16 e CD09

    https://forum.multitheftauto.com/topic/100919-cd16-disconnected-error/ maybe this will work for you
  16. Merhabalar, bir tavsiye vermek istiyorum sunucunuz için daha kaliteli reklam yapabilirsiniz aslında, örneğin : sunucunuzdaki görevler/işler/özellikler vesayre görseller ekleyebilirsiniz, ve bir kaç açıklama yapabilirsiniz böylelikle oyuncular reklamınızdan nasıl bir sunucu olduğunu görüp sunucuya bağlanmak isteyecekler, kolay gelsin...
  17. Shady1

    Main file is unsigned

    "Main file is unsigned" If it still happens (or starts happening again after a while) when you reinstall MTA with official installer from multitheftauto.com, then your PC has a virus that modifies/corrupts EXE files on your PC, a common behavior of some viruses. Then it's your responsibility to do a full virus scan and solve it, then reinstall
  18. local query = dbQuery(connection, "INSERT INTO interiors SET x = ?, y = em vez de a conexão será sqlConnection
  19. Verifique sua conexão db e verifique se você tem conexão db,e você pode mostrar todo o seu código, posso ajudá-lo
  20. Check acl.xml 'aclgroup' Check if ACL groups in the system are on the acl.xml side
  21. Direct3DDevice9 error, check it https://github.com/multitheftauto/mtasa-blue/issues/1572
  22. Shady1

    Wmi spoofing why

    have a nice day, if you like the help you can like my comment
  23. Shady1

    Wmi spoofing why

    hello @ecenaz i want to explain a few things about your problem,MTA team posted a comment on this issue, please see that looks like WMI corruption. In the past, players had the exact same thing, caused by OS having a corrupt WMI which resulted in certain games being unable to function properly, as WMI calls are neccesary for graphic and more To solve it, in most cases this will do it: 1) get this file https://mirror.mtasa.com/mtasa/utils/servicing.bat and right click > "Run as Administrator", then let it do its job.. dont close it, it may take a while and will close on its own 2) restart your PC once its finished old examples of others having the same issue: https://forum.multitheftauto.com/topic/97505-texture-problems-solved/ https://forum.multitheftauto.com/topic/97673-help-me-please-texture-problem-solved/
  24. расскажите им о своей проблеме, и они сделают то, что необходимо
×
×
  • Create New...