Jump to content

MaRcell

Members
  • Content Count

    160
  • Joined

  • Last visited

Community Reputation

0 Neutral

About MaRcell

  • Rank
    Busta
  • Birthday 26/04/2000

Details

  • Gang
    GROVE STREET
  • Location
    Brazil
  • Occupation
    Scripter
  • Interests
    Aprender

Recent Profile Visitors

780 profile views
  1. so on my system when i'm going to set something on the player and take it with setTimer dps for 9 seconds, won't you? will it be because that is not all that has to do to put setTimer inside the function? elseif (type == "Crack") then local inventory = getElementData(client,"inventory") if inventory[type] then inventory[type].amount = inventory[type].amount - 1 outputChat
  2. how would it be right to use, for the chat to appear just for me? never used outpuchatbox on the client side
  3. loadstring(exports.dgs:dgsImportFunction())() local sw, sh = guiGetScreenSize() local sx, sy = (sw/1920), (sh/1080) progressbar = dgsCreateProgressBar(80,730, 226, 34,false,nil,nil,tocolor(28 ,28 ,28, 120),nil,tocolor(255,255, 255, 120) , nil) text = dgsCreateLabel (0.02,0.04,0.94,0.2,"LEVEL: " ..(getElementData(localPlayer,"Level") or 0),true,progressbar,tocolor(0 ,0 ,0,255), nil, nil,nil,nil,nil,"center") font = dgsSetFont(text , "bankgothic") xp = 0 setTimer(function () local team = getPlayerTeam(localPlayer) if team then dgsSetVisible(progressbar,true) else dgsSetVisible(progr
  4. local screenx, screeny = guiGetScreenSize() local sx, sy = (screenx/1920), (screeny/1080) loadstring(exports.dgs:dgsImportFunction())() local blip = nil local blip2 = nil local width = 700 local height = 700 GangMarcar = dgsCreateWindow((screenx - sx*720)/2, (screeny - sy*810)/2, sx*720, sy*810, "MARQUE UM DESTINO PARA SUA GANG", false, tocolor(0, 0, 0, 255), sy*50, nil, tocolor(0, 255, 255, 150), nil, tocolor(0, 0, 0, 150), sy*5, true) dgsWindowSetMovable(GangMarcar, false) dgsWindowSetSizable(GangMarcar, false) dgsSetVisible(GangMarcar, false) GangMarcarMap = dgsCreateImage(sx*10, sy*10,
  5. MaRcell

    [HELP]BOTS

    I was wondering if there is any way to improve this system of ped / bot, when the bot sees the player he already shoots, and how do I create more bots on the msm team for them to try to kill my player? and like I want them to attack me without me attacking them ped = createPed(106, 2439.27856, -2096.04248 ,13.54688) addEventHandler("onClientPedDamage", getRootElement(), function(attacker) if source == ped then givePedWeapon(ped, 27, 500, true) setPedControlState(source, "fire", true) if attacker then setPedAimTa
  6. MaRcell

    [HELP] SPAWN

    would i have to use a spawn player for each value in the table?
  7. MaRcell

    [HELP] SPAWN

    it is because afterwards I will put other values in the table so from the table otherwise I would only do a spawnPlayer (source, x, y, z)
  8. MaRcell

    [HELP] SPAWN

    how do I pull the value from the table, for the spawn? I have doubts I thought it was so but it was not lol local spawnLocation = { {2028.17480 ,-1405.71252 ,17.22696} } function spawn() spawnPlayer(source,spawnLocation) fadeCamera(source, true) setCameraTarget(source, source) end addEventHandler( "onPlayerWasted", getRootElement(), spawn )
  9. MaRcell

    [HELP] BAN

    well, I did this system of banning player by command, but it is not going, I write / iban ID, days and nothing happens .. will there be a problem with the account I made addCommandHandler("iban", function(playerSource, commandName, id, days, ...) if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(playerSource)), aclGetGroup ("Admin")) then if(id) then local playerID = tonumber(id) seconds = tonumber(seconds) or 60 if(playerID) then local targetPlayer = getPlayerID(playerID) if targetPlayer then lo
  10. MaRcell

    [HELP] IKICK

    it is a function only of those who are in that acl may be kicking the player but it doesn’t happen due to an error systemAdm/a.Lua:99: cannot use '...' outside a vararg function near '...' addCommandHandler("ikick", function(playerSource,commandName,id) if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(playerSource)), aclGetGroup ("Admin")) then if(id) then local playerID = tonumber(id) if(playerID) then local targetPlayer = getPlayerID(playerID) if targetPlayer t
  11. MaRcell

    [HELP]SCRIPT

    I wanted to know the functions that I could create a script to / sell, / buy drugs, the player could start working on selling drugs for a marker and would have a panel of what drugs he would have and the player who bought the drug would also have one panel of what drugs do I buy
  12. it hasn't worked yet the panel opens as soon as I turn on the resource and doesn't open when I pass the marker
  13. ah got it i didn't know about this value question thank you very much !!
  14. But without the marker, if I put the panel to appear without a marker, it appears normally so I thought it wasn’t the problem of the coordinates but I will test it thanks!
×
×
  • Create New...