-
Posts
2,013 -
Joined
-
Last visited
Everything posted by iMr.SFA7
-
أول شيء حبيت أقولك SQL أفضل وأضمن وأنت خذ الي يعجبك
-
addEventHandler ("onClientGUIChanged", root, function () if source == Edit then if guiGetText(Edit) == "123" then guiSetProperty(Edit, "NormalTextColour", "FF00FF00") end end end )
-
تبي توقف زر في مكان محدد ؟ وضح ؟
-
function ( ) if guiGetText (Edit) == "123" then guiSetProperty(Edit, "NormalTextColour", "FF00FF00") end end حطه بالحدث الي تبيه ماعتقد بيتلون الاديت = (
-
الرام حق جهازك ؟ كل ما كان الرام اكبر اللاق يخف وجهازك يصير سريع ^ 4 GB ? الرام حقك كويس ماعتقد بيجيك لاق باللعبة
-
جربه ؟ ماعتقد الاديت يتلون تحقق بدون فنكشن ولا ايفينت ؟
-
وليه الفيس بوك ؟ لا ما عندي
-
يسوي ترايقر وبعد ؟ كيف يلون الي داخل الاديت ؟
-
هذا تلوين اللبل وهو يبي يلون الاديت .
-
ما تقدر تلون الاديت ^ /
-
آمم تلون الي داخل الاديت ؟ ماعتقد تقدر
-
ايش هو الي يصير أخضر ؟ guiGetText
-
ياخذ الي يبيه والافضل بالنسبة له عموما لا تطول السالفة بما آنه قال ' تمت الافادة '
-
viewforum.php?f=164
-
حيآك الله ! SQL الـ أفضل و أضمن = )
-
عدلت كودي آنسخه مرة ثآنية .. /
-
Timer = { } local jaja = { {3471.8334960938, -893.76837158203, 11.62656211853}, {3494.4184570313, -894.68341064453, 11.62656211853}, {3496.6020507813, -904.40509033203, 11.62656211853}, {3496.6020507813, -904.40509033203, 11.62656211853}, } Times = { [6] = 360000, [5] = 300000, [4] = 240000, [3] = 180000, [2] = 180000, [1] = 180000, } function jailPlayer(plr, time) if isTimer(Timer[plr]) then killTimer(Timer[plr]) end setElementPosition(plr, unpack(jaja[math.random( #jaja )])) Timer[plr] = setTimer(function(plr) setElementPosition(plr , 1572.9000244141, -1635.4000244141, 13.60000038147) end, time, 1, plr) triggerClientEvent(plr, "unJail", plr, time) setPlayerWantedLevel(plr, 0) end addEventHandler('onPlayerWasted',root,function(_,attacker) setTimer ( function() if attacker and attacker ~= source and getElementType(attacker) == 'player' and getPlayerTeam(attacker) and getTeamName(getPlayerTeam(attacker)) == '[sWAT]' then if getPlayerWantedLevel(source) > 0 and getPlayerTeam(source) and getTeamName(getPlayerTeam(source)) ~= '[sWAT]' then if Times[getPlayerWantedLevel(source)] then jailPlayer(source, Times[getPlayerWantedLevel(source)]) end end end end, 2000, 1 ) end ) addEventHandler("onPlayerLogin", root, function(_, account) local jailT = getAccountData(account, "JailTime") if jailT then jailPlayer(source, jailT) setAccountData(account, "JailTime", false) end end) addEventHandler("onPlayerQuit", root, function( ) if isTimer(Timer[source]) then local account = getPlayerAccount(source) if account and not isGuestAccount(account) then local remaining = getTimerDetails(Timer[source]) setAccountData(account, "JailTime", remaining) end killTimer(Timer[source]) Timer[source] = nil end end ) الدي بق آيش يقول ؟
-
آمم جرب كذآ -- Client Side addEvent ( "addMaps_", true ) addEventHandler ( "addMaps_", root, function ( m_table ) guiGridListClear ( GUIEditor.gridlist[1] ) cMaps = m_table for _,v in ipairs ( m_table ) do local row = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, v, true, true) end end ) addEventHandler ( "onClientGUIChanged", GUIEditor.edit[1], function ( ) if ( guiGetText ( GUIEditor.edit[1] ) ~= "" ) then guiGridListClear ( GUIEditor.gridlist[1] ) for _,v in ipairs ( cMaps ) do local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) local ResourceName = getResourceName ( v ) if ( string.find ( string.upper ( ResourceName ), string.upper ( guiGetText ( GUIEditor.edit[1]) , 1, true ) ) ) then guiGridListSetItemText( GUIEditor.gridlist[1], row, 1, ResourceName , false, false ) end end else guiGridListClear ( GUIEditor.gridlist[1] ) for _,v in ipairs ( cMaps ) do local row = guiGridListAddRow (GUIEditor.gridlist[1]) local ResourceName = getResourceName ( v ) guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, ResourceName , true, true) end end end ,false )
-
Timer = { } local jaja = { {3471.8334960938, -893.76837158203, 11.62656211853}, {3494.4184570313, -894.68341064453, 11.62656211853}, {3496.6020507813, -904.40509033203, 11.62656211853}, {3496.6020507813, -904.40509033203, 11.62656211853}, } Times = { [6] = 360000, [5] = 300000, [4] = 240000, [3] = 180000, [2] = 180000, [1] = 180000, } function jailPlayer(plr, time) if isTimer(Timer[plr]) then killTimer(Timer[plr]) end setElementPosition(plr, unpack(jaja[math.random( #jaja )])) Timer[plr] = setTimer(function(plr) setElementPosition(plr , 1572.9000244141, -1635.4000244141, 13.60000038147) end, time, 1, plr) triggerClientEvent(plr, "unJail", plr, time) setPlayerWantedLevel(plr, 0) end addEventHandler('onPlayerWasted',root,function(_,attacker) if attacker and attacker ~= source and getElementType(attacker) == 'player' and getPlayerTeam(attacker) and getTeamName(getPlayerTeam(attacker)) == '[sWAT]' then if getPlayerWantedLevel(source) > 0 and getPlayerTeam(source) and getTeamName(getPlayerTeam(source)) ~= '[sWAT]' then if Times[getPlayerWantedLevel(source)] then setTimer ( function ( ) jailPlayer(source, Times[getPlayerWantedLevel(source)]) end,2000,1 ) end end end end ) addEventHandler("onPlayerLogin", root, function(_, account) local jailT = getAccountData(account, "JailTime") if jailT then jailPlayer(source, jailT) setAccountData(account, "JailTime", false) end end) addEventHandler("onPlayerQuit", root, function( ) if isTimer(Timer[source]) then local account = getPlayerAccount(source) if account and not isGuestAccount(account) then local remaining = getTimerDetails(Timer[source]) setAccountData(account, "JailTime", remaining) end killTimer(Timer[source]) Timer[source] = nil end end )
-
شف أول شيء سو تيبل دآخل القآعدة وسوي كولمن لـ سيريآل اللاعبي والثآني للحسابات حقت السيريآل آنت مسوي كود للتسجيل صحيح ؟ عدل ع كودك حق التسجيل وجيب القآعدة الي سويتها وعرف سيريال اللاعب وسوي تحقق أن السيريآل مآ عنده حساب اذا ما عنده اذا ما عنده ضيف الحساب وسوي عكس للشرط يعني اذا كان عنده حساب وسوي تحقق ان الحسابات 1 وسوي عكس للشرط يعني اذا حساباته مهيب 1 ضيف الحساب الي سوآه وسوي تحديث للقآعدة وأنتهينآ = ) executeSQLQuery getPlayerSerial
