Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. PaiN^

    faster

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

    faster

    post the meta.xml
  3. هنا مو طلبات مودات هنا تتعلم تسوي تبي تطلب روح أي منتدى ثاني createMarker "onMarkerHit" createVehicle warpPedIntoVehicle setElementPosition
  4. 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
  5. PaiN^

    PickUp

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

    PickUp

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

    Bind position

    bindKey spawnPlayer
  9. 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 .
  10. ما يحتاج البرنامج حقك يا البندر, الخطأ إن اللعبة ما اتثبتت صح ! فقط إعادة تثبيت
  11. MySQL ممكن dbConnect dbExec dbFree dbPoll dbQuery
  12. 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 )
  13. @ 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 .
  14. 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 .
  15. Is this what you want ? Vehicle_Upgrades
  16. المفروض تتحقق من فلوس اللاعب انها أكبر من المبلغ عشان لاتصير فلوسه بالسالب
  17. Yes you need to use shaders . This may help : Shader
  18. exports.scoreboard:scoreboardSetColumnPriority( ... )
  19. !! لازم الكابيتال او السمول + اقرأ ردي زي الناس
  20. 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...