Jump to content

AJXB

Members
  • Content Count

    367
  • Joined

  • Last visited

Everything posted by AJXB

  1. He's talking about bots to replace players and you're talking about creating peds. Not the same thing
  2. Get the default acl.xml file and try again?
  3. The healthy thing to do is to make one resource and just export the functions. Otherwise, you're just repeating code and that's useless.
  4. Way to reinvent how Lua comments are supposed to be.
  5. Wow that's so cute that you don't wanna use leaked sources.. lmfao I can make the entire gamemode in no time, but are you paying well enough?
  6. And if I may ask, do you update the purchased resources for each client after you update the versions? Also, how are you protecting these resources from being leaked? (someone can purchase one resource and leak it since you're selling the source code, I presume)
  7. يا حبيبي مافي شي بالبرجمة اسمه "ما ضبط".. شو الخطأ؟ شي استوا؟
  8. They aren't useless, they look good, and your theme looks good. but if you think it's worth 200 euros, it's not. at least not to me. But I wouldn't be surprised if "clans" pay that much. Anyway, good luck
  9. First you wanted to trigger the event onWasted, then onDamage, now you're asking onWasted again. What. Do. You. Want?
  10. Or trigger an event when the player types anything and set a timer to reset the status
  11. local team = getTeamFromName('Players') setPlayerTeam(source,team)
  12. AJXB

    mute problem

    I just added it in the right place and added an "end" for the if. Just copy my code, you need to learn more from the wiki how Lua works
  13. Doesn't work that way, functions in single player are different, yes, they have the same result, but they're not written in plain Lua, they're compiled. What's the point of your question? or is it just knowledge?
  14. AJXB

    mute problem

    local serialMute = { } function doAction(thePlayer, cmd, actionId, playername, arg3) if (isElement( thePlayer )) then if actionId then local actionId = tonumber(actionId) local player = getPlayerFromNamePart(playername or "") local name = getPlayerName(thePlayer) if player then if actionId == 1 then local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then local duration = (tonumber(arg3) or 0) * 60 * 1000 setPlayerMut
  15. AJXB

    mute problem

    What the hell is that? line 74 and 75 are not in a function.. What..
  16. See, it depends on many factors if changing the config didn't work. try writing a resource that starts these two resources for you (give it admin ACL) And then see where that takes you
  17. AJXB

    mute problem

    Did you restart the server after you added yourself? If so, repost your code.
  18. AJXB

    mute problem

    Did you add yourself in the ACL file?
  19. I already gave you the code, read above please, and understand the code.
  20. That function clearly triggers addEventHandler("onPedWasted", resourceRoot, deanimated) onPedWasted, the Wasted part means the ped is dead, thus, it triggers when the Zombie is dead. You should make a different event/function onPedDamage
  21. And are we code whisperers to just "know"? Does it give an error? no? yes? if yes, which line? if no, then the only obvious reason I can see is that getElementData(veh, "veh:owner") is 0
×
×
  • Create New...