All Activity

This stream auto-updates   

  1. Past hour
  2. Try to reduce usage, lesser loops, if any, lesser dx drawings, if you made it round, make it square, to use less dxdrawrectangle. Or rewrite it in a different way.
  3. https://wiki.multitheftauto.com/wiki/OnClientElementColShapeHit
  4. For test videos, you can run a simple script file that'll assign LODs to all of them then, later on, create the low poly ones.
  5. هذا يسمى توزيع أكواد وشكرا
  6. أقصد setWaterColor
  7. Today
  8. If it would be your created object you could just press "Current elements" and find that object and just press F3, but in this situation it's not your object, it's gta sa object so ye, you're right.
  9. Does Weapon properties work on teargas?
  10. That is right. Pressing E in editor, puts the cursor in a "sensitive" mode, which allows you to select object with smalles collissions. But still, there are some objects, which collission is so little, you can't select them with "sensitive" mode either. Then you have to use the script i sent to you.
  11. Just press e i think ( the crosshair comes red) then try to delete that, should fix
  12. اخي ممكن تراجع موضوع والقسم الخطأ القسم الصحيح هو دروس البرمجة
  13. Are you sure the module is loaded properly and an no errors occurred?
  14. use this tag in meta file its the easiest way --in meta.xml of every resource you want to download earlier than login panel <download_priority_group>1</download_priority_group> --increse the value in every resource by one <download_priority_group>2</download_priority_group> <download_priority_group>3</download_priority_group> <download_priority_group>4</download_priority_group> --...... all resources you want to be downloaded before login --and lastly add the below line in meta.xml of login <download_priority_group>0</download_priority_group>
  15. function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] end end return iter end function aktualizujKontakty() lista={} for i,v in ipairs(getElementsByType("player")) do if v~=localPlayer then lista[getPlayerName(v)]={v,getElementData(localPlayer,"PW:"..getPlayerName(v)) or ""} end end end function wyswietlKontakty() guiGridListClear(gridlist[1]) for i,v in pairsByKeys(lista) do -- see this line r=guiGridListAddRow(gridlist[1]) guiGridListSetItemText(gridlist[1],r,1,skipColorCode(i),false,false) guiGridListSetItemData(gridlist[1],r,1,i) if nieodczytane[i] then guiGridListSetItemColor(gridlist[1],r,1,0,255,0) end if zablokowany[i] then guiGridListSetItemColor(gridlist[1],r,1,255,0,0) end end end This will sort table by key and will add players automatically
  16. How can I use table.sort to sort table "lista" in my script? I want to sort players in gridlist by their name. function aktualizujKontakty() lista={} for i,v in ipairs(getElementsByType("player")) do if v~=localPlayer then lista[getPlayerName(v)]={v,getElementData(localPlayer,"PW:"..getPlayerName(v)) or ""} end end end function wyswietlKontakty() guiGridListClear(gridlist[1]) for i,v in pairs(lista) do r=guiGridListAddRow(gridlist[1]) guiGridListSetItemText(gridlist[1],r,1,skipColorCode(i),false,false) guiGridListSetItemData(gridlist[1],r,1,i) if nieodczytane[i] then guiGridListSetItemColor(gridlist[1],r,1,0,255,0) end if zablokowany[i] then guiGridListSetItemColor(gridlist[1],r,1,255,0,0) end end end
  17. So i would ask u if you can make changes to your saving system by adding two column for banAccount and banTime and then on player Login by that account he can never cheat and also go to below link and u will get to know that Mac Addresses can also be changed so my above method will be best
  18. I got some problems that memo may use much performance in client.
  19. بالغلط جيت اكتب فجل كتبت فحل بكلم نصور
  20. Those are edited vehicle properties. (You can see the strange behaviour of the wheels) Use hedit to figure out the values. https://community.multitheftauto.com/index.php?p=resources&s=details&id=3716
  21. Разбирается кто-то с MySQL?Решил сделать авторизацию через MySQL, все действия работают нормально, но есть одно но:Если я допустим зарегистрировал в БД Логин: adMin / Пароль: sySadmin, то при авторизации я могу ввести admin и sysadmin, и спокойно зайду на аккаунт. То-есть MySQL плевать хотел на регистр.Reg: (exports.MySQL:execute("INSERT INTO accounts (Name, Password, Email, VIP, Reg_Serial, Reg_IP, Reg_Entr) VALUES (?,?,?,?,?,?,?)", Name, Password1, Email, 0, getPlayerSerial(source), getPlayerIP(source), datereg)) Log: exports.MySQL:singleQuery("SELECT * FROM accounts WHERE Name=? AND Password=? LIMIT 1",tostring(Name),tostring(Password))
  22. Check if onClientPlayerDamage gets cancelled. @Dziugasc Weapon properties do not work for fire or explosions. The damage of those effects are indirect and aren't attached to the weapons in your hand.
  23. Setting the sniper at 100 damage will not do 100 damage. There is a multiplier that will give different damage results to players/peds, objects and vehicles. For example ~130 will do 50 damage to a player. (can't remember the exact values) So set the damage at 1000 or even 10000. I assume you use: setWeaponProperty
  24. You can use the SA Editor, select the object, then copy everything to the @StormFighter script.
  25. Same here!
  26. Thank you but I can't select object so idk modeld radius x y z I assume, you haven't opened the link. You can click on any point of the GTA map, and it will show you the pictures, and detailed information about the objects in a radius. After that, you look for the object (based on the pictures) and find it.
  27. Гта чистая, винда новая (установлена правильно, с форматированием дисков). Интернет скоростной, драйверы новые. Фреймворк, директ и С++ установлены. Не могу понять, в чем дело. Не заходит на все сервера, иногда заходит на минутку, даже чат почитать успеваю, и снова выкидывает с ошибкой CD 09. Помогите пожалуйста((
  1. Load more activity