Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. isPlayerInACLGroup فنكشن للتحقق من إن لاعب محدد في قروب أسل معين Syntax : bool isPlayerInACLGroup ( element player, string group ) الكود سيرفر فقط | Server Side only function isPlayerInACLGroup ( player, group ) if player and group then if type( group ) ~= 'string' then return false end for _,aclG in next, aclGroupList ( ) do local name = aclGroupGetName ( aclG ); if name ~= group then return false end end if isElement ( player ) then local account = getPlayerAccount ( player ); if account == nil or isGuestAccount ( account ) then return false end local accountName = getAccountName ( account ); if isObjectInACLGroup ( 'user.'..accountName, aclGetGroup ( group ) ) then return true else return false end else return false end else return false end end Edit : ,, تم إضافة التحقق من القروب
  2. ينقل السيارة بس ذذ خزن السيارة كقيمة متغير, يعني شي = السيارة وبعدين سوي النقل للشي ذذ
  3. You can't cancel the onChatMessage event, do it client side onClientChatMessage
  4. So,You made a custom chatbox for players, And you want the normal chatbox to be only for resources or the other way around ?
  5. I don't get it , You want to make players not aple to chat or what ?
  6. Same script doubled https://community.multitheftauto.com/index.php?p=resources&s=details&id=6967 https://community.multitheftauto.com/index.php?p=resources&s=details&id=6968 One should be removed .. DONE!
  7. Well, Maybe you can get the dimension of a map using getResourceInfo, Then get the dimension of the player, And stop any resource that's have a differant dimension for him .. Not sure though
  8. PaiN^

    Barrier Problem

    The first argument of setObjectBreakable is an object element, Not an object ID ..
  9. The only thing i did was fixing the missing string mark, You can see that half of your code is red because of it ..
  10. PaiN^

    Barrier Problem

    setObjectBreakable
  11. Yes, i read that somewhere in the forum , That's why i started using next insted of ipairs / pairs .
  12. * Note : It's setSoundPaused ( with a small 's' in the beginning ) .. + addEvent addEventHandler
  13. I think it's because of the freeroam resource ..
  14. For the music use fadeCamera, About the TAB and that maybe unbindkey i don't know ..
  15. أنا داري لوول هو يبي إسم الأدمن إللي شغل المود ذذ
  16. هذي إذا كان مايبي إسم اللاعب
  17. ! وهذا الفنكشن يستخدم مع اللاعبين فقط setCameraTarget ما أتوقع ممكن لأن يبغالك تستخدم
  18. هذا لأن التاج فيه مخرج نص ذذ, يبيلك تعدل التاج
  19. Hi all, Today i finished a new mod ;D The Speed Alarm It starts an alarm when a driver go over a limit of speed, And it outputs a message as a label to inform the driver that he's going higher than the speed . You can set the speed and the message size from the client.lua file . DOWNLOAD * Report any bug, opinion or idea . And enjoy it ^^ Regards, #Pai_[N]
  20. Thanx for replays, opinions and ideas guys ... I truly appreciate it ^^
×
×
  • Create New...