Jump to content

AJXB

Members
  • Posts

    367
  • Joined

  • Last visited

Posts posted by AJXB

  1. 26 minutes ago, ReeferMadness said:

    This is my first time posting

    I have this script that teleports you into Jefferson Motel when you hit the marker. I have it working when you go inside the motel, however if you try to walk outside, the marker doesn't do anything. Almost as if there is no script telling you to go outside.

    This is my script.

    
    function motel(player)
        if (source == motelOutside and getElementType(player) == "player") then
            setElementInterior(player, 15, 2216,-1150.5,1025)
            setElementFrozen(player,false)
            setTimer(setElementFrozen, 1000, 1, player, false)
            outputChatBox("Entering the motel...", player)
        elseif (source == motelInside and getElementType(player) == "player") then
            setElementInterior(player, 0, spawnX,spawnY,spawnZ)
            setElementFrozen(player,false)
            setTimer(setElementFrozen, 1000, 1, player, false)
        end
    end
    	addEventHandler("onMarkerHit", root, motel)
     

    Please post your entire used script, as we need to know more than your function, how are the markers made?

  2. This is illegal, retarded, and pathetic.

    1. Make resources using your own ideas.

    2. Don't use FFS in your topic header, if this is not FFS's stolen script, then don't.

    3. Yes, this is illegal in some countries, however, good luck proving it.

    4. Use your skills in something more useful, not copying other people's designs and ideas.

  3. You have 5 posts on this forum, do you think that you have enough knowledge to finish this? I doubt it.

    Anyway, good luck, pretty useful.

    Since when did someone's post count on a forum reflect their ability to accomplish something? So if I registered on another forum about Lua scripting - all my current knowledge would magically be gone? :roll:

    Oh gosh, no, but MTA doesn't use plain Lua, you might wanna know a bit more about it, anyway, as mentioned, gl

  4. This is set on hold, I've been inactive, now I'm back, working on another project, once that's done, I'll continue working on this, and it will be open-source.

  5. Well as many of you guys have "personal" trust issues, clearly, you don't even have to use it, don't whine about it then.

    The resource is not a necessity, obviously, give a thumbs up, your opinions, nothing more, you're appreciated anyway.

    Now to answer a real useful reply here:

    What functions would I need to give this resources access to in the ACL?

    Nothing, that's the best part.

    Thanks for all supporters.

  6. LITE . INTEGRATED . FRIENDLY . EMAIL

    Ever wanted to contact another player in a whole different server while playing in your favorite one? You sure can!

    I've started working on a mailing server and client completely made in Lua that will make everyone's experience in while playing MTA:SA a lot enjoyable.

    It's fully manageable using a friendly Graphical User Interface.

    This resource will be published on MTA Communtiy for everyone to use.

    How can I know that this is safe?

    That's a good questions, let's talk about security, the database where all the data will be stored will be hosted on GoDaddy Servers, you don't have to worry about security or lag. (This can be supervised by any MTA Team members).

    The code will be reviewed by MTA Team before it's uploaded to MTA Community.

    All data connection strings will be encrypted using MTA Luac.

    All passwords will be encrypted, However, do not use a password related to any of your other accounts.

    Features in V 0.1:

    - Load Emails: You can load all emails sent to you using your friendly GUI.

    - Send Emails: You can send emails to any player in MTA World while he's offline or online, as long as he's registered!

    - Login: You can login to your email account to be able to use the interface.

    - Register: Every player will choose their own Email (account name) as long as it's still available.

    Features in V 0.2:

    - Delete Emails: You can delete emails that you don't want in your inbox.

    - Better user interface: Will be using some cool stuff.

    - Quick Reply: a quick reply button will be added.

    - Contacts: You'll be able to save contacts for quick access.

    More features to come.

    What can I do now?

    Nothing really, just sit tight.

    Release Date: Not Set Yet.

  7. Thank you for reading this thread.

    Some information about the project:

    - I need three programmers, PHP, JavaScript, and C++.

    - The project will be classified, I won't pay that much for a public idea.

    - This project is really unique, and there aren't that many outthere.

    - This is a Steam related project.

    - Yes, you will make money.

    - Yes, you will get a % of the profits.

    - Payments will be upon delivery, however I will provide and webhost, domains, SSL we need.

    - "Don't start what you can't finish"

    - I don't fool around.

    - Don't waste my time, you won't earn a penny until I see some progress.

    - I don't have to make a nice fancy topic, you want it? let's do it

    - I'm friendly.

    Send me a personal message for more information.

  8. why it saying marker name already exist i try all name but fail can anyone tell me what to do?

    UGPvAlk.png

    1. Ever heard of /debugscript 3?

    2. This problem happens when your database doesn't have a table called "vehicleMarkers", it's a known issue, however you can create that table.

  9. Wow Mr.gSub you very smart!

    So you want to let the player download your client files and also waiting it to complete before you make the amazing trigger to server side for redirecting the player. Very good! excellent!!!

    And by the way, getPlayerSerial doesn't require argument at client side!

    Calm your tits, you're using sarcasm to express your "issues", and I'm not here to make jokes, unlike you, apparently.

    Here's the deal, there are many ways to make a good, working resource, choose yours, I'll choose mine, don't get me wrong, I respect and value your opinion, but not the way you're presenting it.

    I believe that the code I submitted works well, yet I do believe the method is wrong.

    if you think otherwise, propose another way, we'll respect it, but don't make jokes, or act "funny", I don't have time for that.

  10.   
    -- Client Side 
    allowedSerials = { 
        {"MYSERIAL"} -- Myself 
    } 
    function check () 
        local SV = getPlayerSerial () 
        if SV then 
            for i,v in ipairs (allowedSerials) do -- loop the table 
                if v == SV then -- if we got a match 
                    outputChatBox ('Welcome to ') 
                else 
                    -- triggerServerEvent ('redirectNotAllowedPlayer',localPlayer) -- because redirectPlayer is serverside only 
                end 
            end 
        end 
    end 
    addEventHandler ('onClientResourceStart',resourceRoot ,check) -- onClientResourceStart will do 
      
    

    Client side for whitelist, seriously?

    Lol you're old mate, really old, now are people still scared of client side files? haha, cute.

  11.   
    -- Client Side 
    allowedSerials = { 
        {"MYSERIAL"} -- Myself 
    } 
    function check () 
        local SV = getPlayerSerial (localPlayer) 
        if SV then 
            for i,v in ipairs (allowedSerials) do -- loop the table 
                if v == SV then -- if we got a match 
                    outputChatBox ('Welcome to ') 
                else 
                    -- triggerServerEvent ('redirectNotAllowedPlayer',localPlayer) -- because redirectPlayer is serverside only 
                end 
            end 
        end 
    end 
    addEventHandler ('onClientResourceStart',getResourceRootElement (getThisResource()),check) -- onClientResourceStart will do 
      
    

×
×
  • Create New...