Jump to content

Twig

MTA Contributors
  • Posts

    135
  • Joined

  • Last visited

Posts posted by Twig

  1. I haven't looked so don't take my word completely, but I believe the text your looking for is in built into mta and you can't (at least in DP2) change it. Same with the join/quit messages.

    edit] If you find responses on here a little slow, I'd urge you to join the #mta.scripting IRC channel on GTAnet as you'd get much more input ;).

  2. You could check their user name and serial against a list of authorised members data, also have an optional password in case their serial changes.

    That would be reasonably robust imo.

    edit/ you'd probably also want an addClanMember function to record any new members to the xml file (or whatever storage method you used)

  3. local vrZ = math.rad(360 - vrZ) 
    local offsetZ = pZ-vZ               
    local offsetX = math.cos(vrZ)*(pX-vX) - math.sin(vrZ)*(pY-vY)  
    local offsetY = math.sin(vrZ)*(pX-vX) + math.cos(vrZ)*(pY-vY) 
    

    That works exactly as far as I've seen. Don't expect me to explain it to you :P

    If anyone has managed to produce some method of allowing the player to move while on the vehicle without them being thrown off it I'd appreciate a look.

  4. why does it say in admin panel i have 0/0 messages???? and how do players send messages?

    there are messages sent by the mta team to all server admin's i think. Not sure though.

    Wrong.

    Players can type /report, which brings up a dialogue for reporting cheaters or problems etc.

    An it is to do with scripting to some extent, admin being just a script.

  5. Look at the wiki examples, it's relatively simple.

    Create a window with a name i.e myWindow = guiCreateWindow( etc.

    then add some control such as buttons while (usually) making the buttons parent 'myWindow'.

    Any clicks on the GUI trigger the onClientClickGUI event which can be used to then perform whatever function you need that particular GUI element to do.

×
×
  • Create New...