Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. كود طلال ماله داعي ذا كله تقدر تسويه بسطر واحد local TotalPlayer = #getElementsWithinColShape(getElementColShape(marker), "player")
  2. You also need to learn it in mtasa wiki. local player isn't always who hit the marker, it could be other player. Also givePlayerMoney in client side doesn't require player argument.
  3. You don't need to add or change anything with export, it's already added in exp_system. All you need is to download exp_system (if you haven't yet) and make sure that the resource is running. https://community.multitheftauto.com/index.php?p=resources&s=details&id=1253
  4. @Deepu, All of your codes in this topic is incorrect nor near the correct. So simply, don't try help others when you can't.
  5. Nothing wrong.
  6. Of course the ticket is opened since 3 days, they said "this will be fixed soon!". It's seems that i can't find stable host, i was with Vortex but they shut down my server and send to me email and said that i increase the slots without pay (even though i didn't). Then i went with BuSign, and wow this host dies every 3 days and so. Tried volt-host, after 10 days their hard disk dead and i find my self without server for two weeks. And now with sane-hosting, 3 days without server . We're really sorry you experienced this. I'd really like to make it up to you by giving you one month free of charge. Please contact me on Skype (eirikutvik). i loved how low the ping become with the new datacenter. No problems anymore. Thanks you.
  7. TAPL

    Help me plz!!

    Event: "onVehicleStartEnter" getPlayerTeam getTeamFromName cancelEvent
  8. -- By Solidsnake14 local playerWeapons = { } addEventHandler ( "onPlayerWasted", root, function ( ) if ( not playerWeapons [ source ] ) then playerWeapons [ source ] = { } end for slot = 0, 12 do local weapon = getPedWeapon ( source, slot ) if ( weapon > 0 ) then local ammo = getPedTotalAmmo ( source, slot ) if ( ammo > 0 ) then playerWeapons [ source ] [ weapon ] = ammo end end end end ) addEventHandler ( "onPlayerSpawn", root, function ( ) if ( playerWeapons [ source ] ) then for weapon, ammo in pairs ( playerWeapons [ source ] ) do giveWeapon ( source, tonumber ( weapon ), tonumber ( ammo ) ) end end playerWeapons [ source ] = nil end )
  9. and how iget the Height and Radius? r = Radius h = Height
  10. TAPL

    Help

    You're welcome.
  11. ذا نفس الكود يا بطل @iA7bk#, اعتقد انك بتحتاج تجيب الزفلته الأصلية و تركبها مره ثانية dff بس حق engineRestoreModel لان الفنكشن ذا بس جرب ذا يمكن يضبط addEventHandler("onClientGUIClick", root, function() if (source == A1) then txd = engineLoadTXD("1.txd") engineImportTXD(txd, 4867) elseif (source == A2) then destroyElement(txd) end end) إذا ما ضبط بتحتاج الزفلته الأصلية
  12. skins = {73, 75, 76, 285} ------------------------------------------- skins[math.random(#skins)] -- random skin from the table.
  13. debugscript 3
  14. Change source to localPlayer.
  15. createColTube last two arguments should be radius and height not 0.
  16. -- Client Side -- Event: "onClientGUIClick" addEventHandler guiGridListGetSelectedItem guiGridListGetItemText getVehicleModelFromName triggerServerEvent -- Server Side -- addEvent addEventHandler getElementPosition createVehicle warpPedIntoVehicle
  17. جرب النايت لي https://nightly.multitheftauto.com/mtasa-1.3.4-rc ... 140101.exe ما يحتاج احمله من الموقع التحديث ذا مو جاي بالتحديث التلقائي داخل ام تي اي حق النايت
  18. Line 9 CLIENT change true to false.
  19. و شغال تمام r6014 انا عندي اصدار
  20. ^^ من جهازك
  21. TAPL

    shield ajuda

    how do I report an error? https://wiki.multitheftauto.com/wiki/CreateObject Example2 local line theObject = CreateObject (980 + x 2 + y 2, z, 0, 0, 0,) <<< 0,0,0 "," Fixed.
  22. TAPL

    Water walk

    Create the object in client side. get the position X, Y (No Z) of local player and set the position X, Y to the object and keep z position of the object at static number 0 or -1 or something like that and use the event onClientRender to keep the object attached under the player.
  23. The second argument of the function moveObject is the time that the object will arrive the position.
×
×
  • Create New...