Skully

Members
  • Content count

    95
  • Joined

  • Last visited

  • Days Won

    1

Skully last won the day on May 30

Skully had the most liked content!

Community Reputation

17 Decent

2 Followers

About Skully

  • Rank
    Punk-@ss B*tch

Recent Profile Visitors

1,838 profile views
  1. See my previous response: If you don't see it that way I do, then I respect your perspective - this topic is to catch the eye of those who are looking to get their hands on a new project - there is no harm or fault in trying.
  2. I don't know if either of you have been a part of a team within a community but it follows the same principle as players being administrators or specific team members within servers, they do it completely voluntarily and expect nothing in return apart from the statuated position that they receive. You become an administrator if you want to assist players and uphold a position to assist a community in striving, and developers do the same by writing code and seeing their work being used in a live environment. We're not searching for developers that we're going to just throw under the bus and fire workload at, it's an opportunity to work within a team and create a whole environment. Sure there isn't many developers left out there who don't work for money but this advertisement is targeted towards the few that are interested in not just programming, but who want to get involved in aiding a community and being a part of it. There's no harm in us trying.
  3. Yes, developers who code for the satisfaction and enjoyment of programming still exist. If you're not interested and are only in it for the money then feel free to move on.
  4. LOOKING FOR DEVELOPERS Are you a Lua programmer with experience in working on MTA:SA? Then we've got the perfect role for you! Emerald Gaming is searching for motivated developers to assist us in delivering high quality content to our community. This being quite a major task requires a skilled team of developers and that's where you come in! You'll be tasked with working on minor and major components of our scripts, working in collaboration with Lead Managers and the Design Team directly. Before applying for the position of a developer, you MUST meet the minimum requirements: Possess a minimum of six months experience working with the Lua language. Have an in-depth understanding of MTA:SA server-sided and client-sided development. Must be able to interpret and speak in fluent english. Must be comfortable with following strict guidelines. Must be comfortable working with deadlines. Must be comfortable working within a team. Must be comfortable working with other people's code. Additional Preferred Skills: 2+ years of experience working with Lua and the MTA:SA API. General understanding of Git and the usage of GitHub. Basic understanding of MySQL and database usage. Excellent organizational and analytical skills. Acceptable level of interface design skills. A working microphone and able to communicate over voice. In the event your application is accepted, you will be asked to undergo a qualification test to provide examples of your knowledge in Lua and the MTA:SA functions library. Do you meet all the requirements and beyond? Great! Send in your application and help us shape one of the greatest roleplay communities MTA has seen! You have me convinced, sign me up! Development TeamEmerald Gaming Community
  5. Skully

    cancel spawn player at hospital.

    Please show the code which displays what triggers the event "serverRevivePlayer".
  6. Skully

    [Roleplay] Emerald Gaming [English]

    A development update for July has been posted, take a first look at our faction system and other additions! Read the full update on our forums: https://forums.emeraldgaming.net/topic/129-development-update-4-july/
  7. Skully

    [Roleplay] Emerald Gaming [English]

    A new development update for June has been posted which covers our interior system - check it out on our forums! https://forums.emeraldgaming.net/topic/96-development-update-3-june/
  8. Skully

    HELP WITH GRIDLIST ( PT / EN )

    On the server side where you use setPlayerWantedLevel, just below that add element data and sync it to the client with setElementData. setElementData(player, "wantedlevel", level, true) Replace the variables for player and level for whatever you have. Then in line 4 in the code I provided earlier, replace: if (getPlayerWantedLevel(player) >= 1) then With: if (getElementData(player, "wantedlevel") >= 1) then
  9. function przekaz (nadawca, komenda, odbiorca, kwota) -- who used command, commandname, the variable of the player to whom the money is transferred, amount local pieniazki = tonumber(kwota) --variable amount if (getPlayerMoney(nadawca)==pieniazki) or (getPlayerMoney(nadawca)>pieniazki) then --if the player's amount is equal to or greater than the amount to be sent takePlayerMoney(nadawca, kwota) -- collects the amount of money sent from the player's account outputChatBox("Wysłałeś kwotę" ..pieniazki.. "graczowi" ..odbiorca , nadawca) --sends a successful transaction notification givePlayerMoney(getPlayerFromName(odbiorca), kwota) --here is to be a line with a function whose task is to add a specific amount to the player's account. end end end addCommandHandler("zaplac", przekaz) addCommandHandler("dajkase", przekaz) addCommandHandler("przelej", przekaz) You can use getPlayerFromName to get the player from their name, and then givePlayerMoney.
  10. Skully

    deathmatch

    This sounds like you're talking about a bug or issue related to a specific server, rather than MTA itself. You should contact the server owner or developer to get assistance with this. If you are talking about MTA itself, you can create a bug report on the mantis.
  11. You'll have to create a .lua file and use the following functions and replace the stock GTA:SA models. TXD Files: EngineLoadTXD and EngineImportTXD DFF Files: EngineLoadDFF and EngineReplaceModel Check the wiki examples on how to use them.
  12. Skully

    HELP WITH GRIDLIST ( PT / EN )

    function AtualizarListaDeNicks() guiGridListClear(ListaDeProcurados) for index, player in ipairs(getElementsByType("player")) do if (getPlayerWantedLevel(player) >= 1) then -- Get the current player's wanted level, and proceed if it is greater than or equal to 1. FILA = guiGridListAddRow(ListaDeProcurados) guiGridListSetItemText ( ListaDeProcurados, FILA, ColunaPlayers, (string.gsub ( getPlayerName(player), '#%x%x%x%x%x%x', '' ) or getPlayerName(player)), false, false) guiGridListSetItemData ( ListaDeProcurados, FILA, ColunaPlayers, getPlayerName(player)) end end end addEventHandler( "onClientResourceStart", getRootElement(), AtualizarListaDeNicks ) addEventHandler( "onClientPlayerChangeNick", getRootElement(), AtualizarListaDeNicks ) getPlayerWantedLevel is used to get a player's wanted level.
  13. Then you'll have to use database functions such as DbExec to execute queries and update rows in the table where the passwords are located.
  14. Skully

    [HELP] Clan Adding Script

    function create() FO = createTeam ( "Forever", 255, 0, 0 ) AV = createTeam ( "Avalanche", 255, 255, 255 ) GH = createTeam ( "Ghost", 255, 123, 0 ) end function addplayer(player, cmd, target, clan) local recipient = getPlayerFromName(target) local accName = getAccountName ( getPlayerAccount ( recipient ) ) -- get his account name if isObjectInACLGroup ("user."..accName, aclGetGroup ( clan ) ) then outputChatBox("* " .. recipientName .. " is already in your clan" , player, 255, 0, 0, true) else if recipient then local r, g, b local recipientName = getPlayerName(recipient) local playerName = getPlayerName(player) outputChatBox("*" .. recipientName .. " #FFFFFF has been added #FF0000" .. clan .. "#FFFFFF clan" , player, 255, 0, 0, true) outputChatBox("*" .. playerName .. " #FFFFFF added you to #FF0000" .. clan .. "#FFFFFF Clan", recipient, 255, 0, 0, true) local team = getTeamFromName(clan) -- Get the actual team from the name provided. if (team) then -- If the team exists. setPlayerTeam ( recipient, team ) r, g, b = getTeamColor (team) setPlayerNametagColor ( recipient, r, g, b ) aclGroupAddObject (aclGetGroup(clan), "user."..accName) else -- If the team the player has provided doesn't exist. outputChatBox("A clan with the name '" .. clan .. "' does not exist!", player, 255, 0, 0) end else outputChatBox("Sorry, we got 0 matches to the name" .. recipientName, player, 255, 0, 0) end end end function kickplayer(player, cmd, target, clan) local recipient = getPlayerFromName(target) local accName = getAccountName ( getPlayerAccount ( recipient ) ) -- get his account name local r,g,b if isObjectInACLGroup ("user."..accName, aclGetGroup ( clan ) ) then setPlayerTeam ( recipient, nil ) setPlayerNametagColor ( recipient, 225, 225, 225 ) aclGroupRemoveObject (aclGetGroup(clan), "user."..accName) else outputChatBox("The Player is Not in" .. clan .. "Clan" .. clan, player, 255, 0, 0) end end addCommandHandler("add", addplayer) addCommandHandler("ckick", kickplayer) addEventHandler("onResourceStart", getRootElement(), create) This should work fine. And to only make the command work for those in the ALC group, you'll have to use isObjectInACLGroup and check if they have the group.
  15. Skully

    Table

    From my understanding, are you attempting to place a random marker whenever a player does the command? If so, this should work fine. positions = { [1] = {-805.34595, 743.04645, 54.34844}, [2] = {-809.69177, 764.23022, 54.34844}, [3] = {-838.24719, 731.62659, 54.34844}, [4] = {-834.38562, 762.48022, 54.34844}, } addCommandHandler("commander", function() local ran = math.random(1, #positions) local marker = createMarker(positions[ran][1], positions[ran][2], positions[ran][3], "ring", 3, 255, 0, 0, 255) createBlipAttachedTo(marker, 18) end)