Search the Community

Showing results for tags 'joinquit'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 3 results

  1. Guest

    help

    Hey guys i'm new in scripting, i used wiki to learn i have made this code just to test myself addEventHandler("onPlayerChangeNick", getRootElement(), wasNickChangedByUser) function changenick (onPlayerChangeNick) outPutChatBox ( " Your have been changed your nickname " ) end How can i fix it ?, ik it's cancer ====================================================================== after some time because no one answered I tried this code and it's worked addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) outputChatBox('You have been changed your nickname', 255, 100, 100) end) But what's is " root, " and why in some script there is function testmod (oldNick, newNick) And other script only function(oldNick, newNick)
  2. i want add more than one message to the dxjoinquit script, for example:
  3. local screenW, screenH = guiGetScreenSize() addEventHandler("onClientRender", root, function() dxDrawRectangle(screenW * 0.7951, screenH * 0.1944, screenW * 0.1979, screenH * 0.1033, tocolor(0, 0, 0, 131), false) end ) function greetPlayer ( ) local joinedPlayerName = getPlayerName ( source ) dxDrawText("#00baff" .. joinedPlayerName .. "#FFffFFJött Kockulni!", 1151, 181, 1420, 202, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, true, false) end addEventHandler ( "onPlayerJoin", getRootElement(), greetPlayer )