Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. https://wiki.multitheftauto.com/wiki/OutputChatBox visibleTo: This specifies who the chat is visible to. Any players in this element will see the chat message. See visibility. r: The amount of red in the color of the text. Default value is 231. g: The amount of green in the color of the text. Default value is 217. b: The amount of blue in the color of the text. Default value is 176. colorCoded: A boolean value determining whether or not '#RRGGBB' tags should be used.
  2. تبي تكحلها عميتها
  3. showCrouser? source?
  4. https://wiki.multitheftauto.com/wiki/LogIn bool logIn ( player thePlayer, account theAccount, string thePassword ) https://wiki.multitheftauto.com/wiki/OnPlayerJoin The source of this event is the player who joined. https://wiki.multitheftauto.com/wiki/OutputChatBox visibleTo: This specifies who the chat is visible to. Any players in this element will see the chat message. See visibility. r: The amount of red in the color of the text. Default value is 231. g: The amount of green in the color of the text. Default value is 217. b: The amount of blue in the color of the text. Default value is 176. colorCoded: A boolean value determining whether or not '#RRGGBB' tags should be used. edit : https://wiki.multitheftauto.com/wiki/OnPlayerJoin Parameters No parameters.
  5. setWeaponProperty
  6. TAPL

    HELP :D

    Post your code then?
  7. http://html-color-codes.info هذا موقع أفضل للألوان Color Picker تقدر تستخدم
  8. TAPL

    HELP :D

    source of what? there no event. bindKey server side required player element which i can't see it in your code, outputChatBox server side required visibleTo player element too.
  9. https://wiki.multitheftauto.com/wiki/Debugging
  10. وريني الي حاولت فيه
  11. https://wiki.multitheftauto.com/wiki/Debugging
  12. حبيبي وش تخربط من راسك؟ https://wiki.multitheftauto.com/wiki/Introduction_to_Scripting_the_GUI
  13. addEventHandler( "onClientResourceStart", resourceRoot, function() fadeCamera(false) end)
  14. x, y = 3000 | 3000 المشكلة ذي في المابات الي تكون بعيده عن ماب اللعبه الأصلي ؛ خارج حدود أحداثيات http://bugs.multitheftauto.com/view.php?id=1329
  15. + guiGridListAddRow
  16. You don't need getPlayerAccount, because the event onPlayerLogin already return the account. Read the parameter at wiki: https://wiki.multitheftauto.com/wiki/OnPlayerLogin
  17. I already know this, i was meaning false in his cause. He trying to get account name from account name <~ this funny.
  18. LoL? outputChatBox("#3BB9FF#Account already exist ..!", source, 255, 0, 0, true) Have you ever saw this when you add an account already exist? because getAccountName will always return false and it will return it to the else. And btw, you are trigger the source as root, so everyone will see the outputChatBox, and this means the password will be in chat for everyone.
  19. onClientResourceStart
  20. fadeCamera
  21. https://community.multitheftauto.com/index.php?p=resources&s=comments&id=6587
  22. addEvent("del", true) addEventHandler("del", root, function(duser) if string.len(duser) > 0 then if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then local account = getAccount(duser) if account then removeAccount(account) outputChatBox("The Account [ "..duser.." ] was removed by [ "..getPlayerName(source).." ]", root, 255, 0, 0, true) else outputChatBox("Username was not found ..!", source, 255, 0, 0, true) end else outputChatBox("You are not Admin ..!", source, 255, 0, 0, true) end else outputChatBox("Username was not found ..!", source, 255, 0, 0, true) end end )
  23. viewtopic.php?f=139&t=37620
  24. viewtopic.php?f=160&t=54383
×
×
  • Create New...