Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 21/01/17 in all areas

  1. Topic cleaned of all arguments, the next one to light it up again under my post will get an official warning/consequences. User responsible for iniating the chain of trashtalk was banned.
    3 points
  2. I thought it would be a good idea to make a website where I would put my MTA scripts. http://crystalmv.net84.net It currently includes: Airbrake Bone attachments Bytedata Drawtag Gravity gun Lava flood NPC high-level control (HLC) NPC HLC traffic NPC HLC traffic editor NPC task sequencer Particle objects Server collisions Sticky fishes Traffic light sequence
    1 point
  3. Olá pessoal, Venho convidar a todos para entrarem no recém lançado servidor da Imperial Network, cujo game mode é Gang War, trabalhamos muitos nele e gostaríamos de contar com a presença de todos, para conheçer nosso game mode, nossos sistema, irei colocar uma imagens. IP: mtasa://144.217.167.81:22003 Algumas imagens então em línguas diferentes. Isso ocorre por que o servidor é traduzido em vários idiomas, e não importa de onde você é, ou qual idioma você fala, você vai gostar de jogar no nosso servidor. Painel de Login: Seleção de Skins: Painel de Usuário: Smartphone: Auto Selling: Ammunation: Banco: Propriedades: Sistema de gang: Algumas bases: Novo veiculo especial: Sistema de roupas: Sistema de dominação: Espero a presença de todos, obrigado pela atenção.
    1 point
  4. Upon re-reading what he said, I agree that's what he probably wants, the user to be able to type /help "the message" and for it then to be delivered to admins only.
    1 point
  5. هذا الكود الي تقول انك عدلته، ما اشوف تعريف حق الـ name
    1 point
  6. You could convert the image to binary and then recomponse it on the server.
    1 point
  7. Cât despre X închideri și redeschideri, acestea constituie că nu se merită să-ți deschizi server de mta , la ce stadiu au server-ele de roleplay românesc. Mai multă dreptate îi dau lui benzema, deoarece pe vR (cât am jucat), mai mult pe Axel îl interesează banii decât comportamentul jucătorilor.
    1 point
  8. function Players ( ) guiGridListClear ( GUIEditor.gridlist[1] ) for i, v in ipairs(getElementsByType("team")) do local Row = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText ( GUIEditor.gridlist[1], Row ,1, getTeamName ( v ), false, false ) end end addEventHandler ( 'onClientResourceStart' , resourceRoot , Players ) addEventHandler( "onClientPlayerJoin", root, Players ) addEventHandler( "onClientPlayerQuit", root, Players ) addEventHandler( "onClientPlayerChangeNick", root, Players )
    1 point
  9. من ترجمة الديبق تفهم ان لايمكن مقارنة رقم مع متغير غير معرف تأكد من هذا الجزء hoursRequired > tonumber(getElementData(hitPlayer,"OnlineTime.hours"))
    1 point
  10. قوانين المنتدى ماهي لعبة ، التزم بها ماحد يكلمك ترفع بالمواضيع القديمة وتقول مالك دخل @!#NssoR_)
    1 point
  11. hoursRequired قيمة فارغة ، لذلك هل أنت متأكد أنه فيه قيمة ( ورقم ) ؟
    1 point
  12. سكربت رائع اهنيك + خواص جميلة عندي اقتراح تضيف كولمن بالقريد ليست اسم صاحب الحساب
    1 point
  13. عمل رائع, واصل يابطل, إلى الأمام ... وإلى تطور أكبر
    1 point
  14. سكربت جميل ورائع خواص مميزة لاداره الحسابات شكراً عالمجهود
    1 point
  15. addEventHandler ( 'onClientGUIClick',button, function ( ) if guiGridListGetSelectedItem ( gridlist ) == -1 then return end local Money = guiGetText ( edit ) local Reason = guiGetText ( edit2 ) if Reason == "" or not tonumber ( Money ) then return end local player = guiGridListGetItemText ( gridlist,guiGridListGetSelectedItem ( gridlist ), 1 ) triggerServerEvent ( 'onPlayerMoney', localPlayer,Money,Reason,player ) end,false ) addEvent ( 'onPlayerMoney', true ) addEventHandler ( 'onPlayerMoney', root, function ( Money,Reason,player ) local player_ = getPlayerFromName ( player ) if ( player_ ) then givePlayerMoney ( player_, tonumber ( Money ) ) end end ) لم يتم التجربة
    1 point
  16. Yes you can, see the wiki. Every vehicle has 4 colours, with the function setVehicleColor you give the RGB values for each color
    1 point
  17. Jamie, i think he's talking about text that only admins can see, not commands that only admins can use... So: outputChatBox's second parameter is what you are looking for. It's defaulted to root, so the text is visible to all children of root = all players. I guess in you server there's no dummy element parent of admins (it would be not a normal thing...), so i think you should get all the admins and repeat the outputChatBox for every admin* * To get the admins, you get all players. Then get their account and check if account is in "Admin" group with isObjectInACLGroup. If it is, output the text to that player: --example local players = getElementsByType( "player" ) --get ALL players local adminACL = aclGetGroup ( "Admin" ) --get the admin acl group for _,thePlayer in pairs(players) do --loop the players if isObjectInACLGroup( getPlayerAccount( thePlayer ), adminACL ) then --check if the account of that player is an admin outputChatBox( "Your text goes here", thePlayer ) --if it is, outputChatBox to him end end
    1 point
  18. لا يوجد وصف او كلام اقوله لـ الابداع الكبير هذا... يعطيك الف الف عافية علي المود صراحةء أفدتني وافدت غيري لأن المود مفيد لـ بعض الاصحاب ... وآآصل بدون فواصل يا بطل تقبل احلي مرور
    1 point
  19. I have not tested this, but you should read about ACL Groups and ACL Lists In your case i think you might be looking for something along these lines... function helpMe() -- your code hre end addCommandHandler ( "help", helpMe) And then in: <acl name="Default"> <right name="command.start" access="false" /> <right name="command.stop" access="false" /> <right name="command.stopall" access="false" /> ...etc etc... </acl> Add: <right name="command.help" access="false" /> Might not be spot on... but along those lines
    1 point
×
×
  • Create New...