PaiN^
Members-
Posts
2,258 -
Joined
-
Last visited
Everything posted by PaiN^
-
احصل على سيرفر لمده شهر من هدف هوست مجانا ( انتهى العرض(
PaiN^ replied to Quited's topic in الاستضافات
وين المشرفين عن هذا الموضوع الشاطح ؟ -
> name="Faster and Faster" author="EHID" description="Let your cars go faster" version="1.0" type="script" /> ="faster_s.lua" type="server" />>
-
هنا مو طلبات مودات هنا تتعلم تسوي تبي تطلب روح أي منتدى ثاني createMarker "onMarkerHit" createVehicle warpPedIntoVehicle setElementPosition
-
You're welcome
-
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
-
pickup = createPickup( ... ) addEventHandler( "onClientPickupHit", pickup, function( thePlayer, matchingDimension ) -- Your code end ) You mean like this ?
-
guiEditSetMasked
-
createPickup Use the respawnTime argument to make it re-apper and create it client side so you can use onClientPickupHit event .
-
By SQL you can save things ( such as money, armor, ... ) for all the players even if they didn't register at the server .
-
ما يحتاج البرنامج حقك يا البندر, الخطأ إن اللعبة ما اتثبتت صح ! فقط إعادة تثبيت
-
MySQL ممكن dbConnect dbExec dbFree dbPoll dbQuery
-
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 )
-
@ 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 .
-
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 .
-
Is this what you want ? Vehicle_Upgrades
-
المفروض تتحقق من فلوس اللاعب انها أكبر من المبلغ عشان لاتصير فلوسه بالسالب
-
Yes you need to use shaders . This may help : Shader
-
exports.scoreboard:scoreboardSetColumnPriority( ... )
-
!! لازم الكابيتال او السمول + اقرأ ردي زي الناس
-
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
