Jump to content

Leaderboard

Popular Content

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

  1. По моему мнению лучше всего делать вот так: [your_gamemode] 1) Главный ресурс, в котором есть мод. По желанию можно разделить на 2 ресурса ( client, server ) как было сказано выше. 2) Ресурс с моделями 3) Ресурс с картинками 4) Ресурс с шрифтами ... [resources] 1) Тут используются стандартные ресурсы (admin, scoreboard, ... ) [maps] 1) Все карты на сервере в виде отдельных ресурсов. (map_name1, map_name2, ... ) Примечание: Все идея с разделением моделей и картинок нужна, чтобы не нужно было перезапускать весь мод в случае изменения. Возможно у кого-то есть идеи, мол можно же все поделить на ресурсы, но это не правильный шаг, т.к если все ресурсы взаимосвязаны, то данные могут устаревать или быть не действительными в других ресурсах. В таком случае если вы знаете, что данный ресурс может функционировать достаточно изолировано, то можете смело его делать отдельно от главного ресурса (мода).
    2 points
  2. Hello Everyone. My suggestion is to change the Blending Weather System. Nowadays, the only way to change the blending duration is using setMinuteDuration. But this isn't enough because my server uses real time minute duration (60000 miliseconds every minute). While this, the blending weather needs 2 real time hours to complete it's cycle, this is too much! Also, there's some weather IDs that I want to have different blending durations from the others, but if I change the minute duration, this will change the server clock 'speed. I think there should be more arguments to the setBlendingWeather, like blending duration. Example: If I want to blend a storm in 3 real time minutes (3 game hours). I could use: setWeatherBlended (8, 180000) This will blend the weather ID 8, in 180000 miliseconds, like the 'setTimer'. By default, this timer will always be 120000 because it's 2 game hours. If I use the current code: setWeatherBlended (8) This is the same as this: setWeatherBlended (8, 120000) PS: Using the setMinuteDuration client side is not an option.
    1 point
  3. السلام عليكم , اليوم قررت اني ابرمج للي يبي بفلوس تقدر تطلب مود تجربة عشان تتأكد , المهم الاسعار ماهبالغ طبعا و اقول 10 و 15 و 20 السعر هيكون علي حساب السكربت اقصي سعر عندي 6 دولار طبعا ليك تستلم مني المود كامل في معاد تطلبو , + خالي من البقات او اي دي بق + هكون مسأول عن تصليحو لو حصل حاجة سكايبي ahmad.gaber25 + النصب و الأحتيال مو من صفاتي اظن في ناس هنا تعرفني كويس ,, الدفع باي بال او سعودي
    1 point
  4. isPlayerMapVisible check if the map is opened getElementsByType create a table of the blips getElementAttachedTo get the element the blip is attached to getElementType to check if its a player getPlayerName get their name dxDrawText draw the name
    1 point
  5. As far as I can see you are storing the player name, not the account (or account name as I don't know if accounts can be stored). That should not get the name but only store the account. So when you get the toptimes again later to display, you can use getAccount() or something, then get the account data, which will be the final player name.
    1 point
  6. Вам также поможет и эта статья:
    1 point
  7. عيب الله يهدييك هقهقهههههه لكن صراحه ابداع يعطيك العافيه على الطرح
    1 point
  8. http://lua-users.org/wiki/LuaStyleGuide Lua как язык очень часто используется бородатыми сисадминами в своих шелл скриптах. Особых стандартов поэтому нет. Аналогов PSR тоже нет. Какие данные? Куда хранить? В СУБД обычно хранят. > Прочитав большую часть wiki, я не нашёл нужной мне информации. Какую? Если данные ОЗУ, то либо в таблицах луашных либо в setElementData (в некотором смысле аналог самповских пваров)
    1 point
  9. كوده شغال صحيح ^ بالنسبة لرجوع الترايقر فهو ياخذ الأرقمنت بشكل إفتراضي لو ماحطيت ارقمنت بالسيرفر سايد والأرقمنت الافتراضي هو root
    1 point
  10. يب يبي يحولها اجل يسوي قيمه متغيره بالكلنت لما يضغط البايند كاي يغير القيمه من فولس لترو والعكس
    1 point
  11. باك معلش كنت مشغول شوي الأيام الي فاتت , المهم بالنسبه للوحش انا قايل سكربتات فقط , مو جيم مودات + دمار يب اقدر اسويه لك
    1 point
  12. For adding the image to the scoreboard, you'll have to edit the scoreboard resource and add the image path there or you can set a different element data which describes the path and then get it using getElementData. Then add dxDrawImage in scoreboard.
    1 point
  13. i know only how to edit the image, would you help me? elseif column.name == "Home" then dxDrawImage( topX+theX, y+s(1), 16, 11, content, 0, 0, 0, cWhite, drawOverGUI ) else dxDrawText( content, topX+theX+s(1), y+s(1), topX+x+s(1+column.width), y+s(11)+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( 0, 0, 0, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) dxDrawText( content, topX+theX, y, topX+x+s(column.width), y+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( r or 255, g or 255, b or 255, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) end end
    1 point
  14. Hello guys, i want flags shows in the scoreboard how to do that?
    1 point
×
×
  • Create New...