Jump to content

WickedBIJ

Members
  • Posts

    10
  • Joined

  • Last visited

Details

  • Gang
    No gang bro

WickedBIJ's Achievements

Member

Member (5/54)

0

Reputation

  1. I've looked in every script. I can't find it.
  2. So I've been facing the issue that on every gamemode's map change or an gamemode change, the player's money is set to 0. I stopped all resources and started only the gamemode resource, it's map, mapmanager. Changed the map and it still didn't work. So I guess the money is being set by some MTA script. Is there any way I can prevent this from happening?
  3. I have a question, how can I save data on player's serial? Do I need to use MySQL? If so, please post an example since I'm not pretty used to MySQL.
  4. How can I get the some of money of players in a specific team? Maybe something like this? function checkMoney (team) local players = getPlayersInTeam(team) for i,v in ipairs(players) do money = getPlayerMoney(v) end end
  5. I shows me error on line 29 and 30, expected team got boolean. I can't understand what's wrong, anyone help me? fixed
  6. Already tried it but it doesn't work on resolutions higher than 1600. Thanks anyways, already found another method.
  7. I drew a circle on top right corner of screen. But it doesn't fit on all resolutions, any please help me with it? sWidth, sHeight = guiGetScreenSize() function circle() dxDrawCircle( sWidth-130, sHeight*(158/1080), 100, 5, 1, 0, 360, tocolor(0,0,0,255) ) end addEventHandler("onClientRender", root, renderHealth2)
  8. WickedBIJ

    Fade sound

    Is there any function which I can use to fade sound? Like a sound is being played and after an event it fades (from high volume to low volume and then mute).
  9. screenW, screenH = guiGetScreenSize() screenW - x- 10, (screenH - y) / 2, (screenW - x- 10) + 285, ( (screenH - y) / 2) + 16 Adjust the x and y according to your requirements.
×
×
  • Create New...