Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. PaiN^

    faster

    errors ?
  2. وين المشرفين عن هذا الموضوع الشاطح ؟
  3. PaiN^

    faster

    > name="Faster and Faster" author="EHID" description="Let your cars go faster" version="1.0" type="script" /> ="faster_s.lua" type="server" />>
  4. PaiN^

    faster

    post the meta.xml
  5. هنا مو طلبات مودات هنا تتعلم تسوي تبي تطلب روح أي منتدى ثاني createMarker "onMarkerHit" createVehicle warpPedIntoVehicle setElementPosition
  6. You're welcome
  7. addEventHandler( "onClientPlayerDamage", root, function( attacker, weapon ) if attacker and getElementType( attacker ) == "player" and attacker ~= source then local aTeam = getPlayerTeam( attacker ) local sTeam = getPlayerTeam( source ) if sTeam ~= false and sTeam == aTeam then cancelEvent( ) end end end ) Try this
  8. PaiN^

    PickUp

    pickup = createPickup( ... ) addEventHandler( "onClientPickupHit", pickup, function( thePlayer, matchingDimension ) -- Your code end ) You mean like this ?
  9. guiEditSetMasked
  10. PaiN^

    PickUp

    createPickup Use the respawnTime argument to make it re-apper and create it client side so you can use onClientPickupHit event .
  11. I didn't understand .
  12. PaiN^

    Bind position

    bindKey spawnPlayer
  13. PaiN^

    Money Saver

    By SQL you can save things ( such as money, armor, ... ) for all the players even if they didn't register at the server .
  14. ما يحتاج البرنامج حقك يا البندر, الخطأ إن اللعبة ما اتثبتت صح ! فقط إعادة تثبيت
  15. العفو ,,
  16. MySQL ممكن dbConnect dbExec dbFree dbPoll dbQuery
  17. gate = createObject( 980, 2673.5, 596.79998779297, 16.89999961853, 0, 0, 0 ) marker = createMarker( 2674.3000488281, 599, 14, "cylinder", 10, 255, 255, 255, 0 ) createTeam( "Army", 255, 0, 0 ) function openGate( thePlayer ) if isElementWithInMarker( thePlayer, marker ) then if getPlayerTeam( thePlayer ) == getTeamFromName( "Army" ) then moveObject( gate, 1000, 2673.5, 596.79998779297, 22, 0, 0, 0 ) else outputChatBox( "This Army Base...", thePlayer, 255, 255, 0, true ) end end end addEventHandler( "onResourceStart", resourceRoot, function( ) local armyPlayers = getPlayersInTeam( getTeamFromName( "Army" ) ) if #armyPlayers > 0 then for k,v in ipairs( armyPlayers ) do bindKey( v, "tab", "down", openGate, v ) end end end ) addEventHandler( "onPlayerLogin", root, function( ) if getPlayerTeam( source ) == getTeamFromName( "Army" ) then bindKey( source, "tab", "down", openGate, source ) end end ) function closeGate( thePlayer ) if getElementType( thePlayer ) == "player" then if getPlayerTeam( thePlayer ) == getTeamFromName( "Army" ) then moveObject( gate, 1000, 2673.5, 596.79998779297, 16.89999961853, 0, 0, 0 ) end end end addEventHandler( "onMarkerLeave", marker, closeGate )
  18. @ 6ArHxiMr'3a[Z]eF : He mean to add some clothes modes on the normal clothes in the game . @ Minotaur : I'm not sure, But if they were .txd files the you can use : engineLoadTXD - engineImportTXD .
  19. use relative coordinates or use guiGetScreenSize and do some math on it to make it in the position you want . P.S. : If you want it at the center of the screen, You can use this useful function : centerWindow .
  20. Is this what you want ? Vehicle_Upgrades
  21. المفروض تتحقق من فلوس اللاعب انها أكبر من المبلغ عشان لاتصير فلوسه بالسالب
  22. Yes you need to use shaders . This may help : Shader
  23. exports.scoreboard:scoreboardSetColumnPriority( ... )
  24. !! لازم الكابيتال او السمول + اقرأ ردي زي الناس
  25. local grid = guiCreateGridList( ... ) local col1 = guiGridListAddColumn( grid, "#", 0.3 ) local col2 = guiGridListAddColumn( grid, "Name", 0.5 ) for k,v in ipairs( getElementsByType( "player" ) ) do local row = guiGridListAddRow( grid ) guiGridListSetItemText( grid, row, col1, k, false, false ) guiGridListSetItemText( grid, row, col2, getPlayerName( v ), false, false ) end
×
×
  • Create New...