-
Posts
183 -
Joined
-
Last visited
Everything posted by SaRy,#DanGer
-
الكود غلط احين ويش تبي تسوي بالضبط
-
حسب اله فهمته من الويكي -- set a timer so the function is called after 1 second setTimer ( delayedChat, 1000, 1, "Hello, World!" ) 1= ثانيه بس احين فهمت تسلم على.المعلومه يعني يصير جدي setTimer ( delayedChat, 60, 1, "Hello, World!" )
-
متأكد يالحبيب ؟ لا >< بس حسب اله فهمته ادا غلط قول لي ذذ
-
عاطنك مثال ف الويكي - المثال هو كل ثانيه يكتب ف الشات Hello , World! setTimer ( delayedChat, 1000, 1, "Hello, World!" ) احين هو حاط لك ثانيه انت تقول تسويه كل دقيقه يصير جدي setTimer ( delayedChat, 1000, 60, "Hello, World!" ) وفي عدة امثله ليه مو بس دا
-
عضويه من ,, البرنس؟ آجوف مشاركاته مو موجوده
-
يخوي اقولك أمر من صاحب القيم لو سمحت احترم رغبآت الآخرين وحقوقهم امزح وانت اخدت الكلام صدق
-
انا حملته تبي انشره
-
addEventHandler("onClientMarkerHit",marker1, function ( hitElement ) if hitElement == localPlayer then guiSetVisible ( wnd ,true ) showCursor (true ) end end,false ) هاذا الكود آدا تلمس الماركر تطلع لك اللوحه الماركر بدل الاسم ماله خل اسم ماركرك من بدال marker1 وبدل wnd الى اسم الوحه مالتك
-
ترفع مواضيع قديمه واكواد خطأ , -_-" معرف اركز بالتلفون ضض
-
؟؟؟؟ لاتقول خطأ الكود
-
ايوه ايوه واصل وبدون فواصل
-
بدايتي في البرمجه افك تشفير مودات و كنت اغير حقوق واعدل على المودات واقول لهم انا مسويه وبعدين عرفت اسوي لوحات ,, واحين اعرف اسوي اكواد واطلع اكواد من الويكي واسوي فنكشنات والخ بس كله اخربط >< وكله ساعات اغلاط بنتعلم شوي شوي
-
فري رومَ , ممكن تحط لي مثال؟ , قصده ادا انت خال نوعيه السيرفر play الفري روم تقدر تبنده اسمه freerome
-
مثال getElementData function addPlayerCustomTag ( thePlayer, command, newTag ) --Let's make sure the newTag param has been entered... if ( newTag ) then --Grab their current playername for saving. local sPlayerNickname = getPlayerName ( thePlayer ) --Create their new nickname with their tag local sNewPlayerNickname = newTag .. " " .. sPlayerNickname --Let's first load the element data, see if it's there already --The reason for this is that if a player were to do /addtag twice, --the tag would be prepended a second time local sOldNick = getElementData( thePlayer, "tempdata.originalnick" ) if ( sOldNick == false ) then --Save their orignal nickname in their element data setElementData ( thePlayer, "tempdata.originalnick", sPlayerNickname ) end --Set their new nickname globally setPlayerName ( thePlayer, sNewPlayerNickname ) --Tell them it's done outputChatBox ( "Your new nickname has been set, to put it back to its original state you can use /deltag", thePlayer ) else --The newTag param was not entered, give an error message outputChatBox ( "/addtag - Incorrect syntax, Correct: /addtag ", thePlayer ) end end addCommandHandler ( "addtag", addPlayerCustomTag ) function removePlayerCustomTag ( thePlayer, command ) --We first need to check that they have already used /addtag, let's do that now local sOldNick = getElementData( thePlayer, "tempdata.originalnick" ) if ( sOldNick ) then --Great, they have a tag added, let's reset them --First we will want to reset the element data back to its default (that being false) setElementData ( thePlayer, "tempdata.originalnick", false ) --Now set the client name back setClientName ( thePlayer, sOldNick ) --Notify them outputChatBox ( "Your old nickname has been set", thePlayer ) end end addCommandHandler ( "deltag", removePlayerCustomTag ) مثال setElementData function joinTime ( ) setElementData ( source, "joinTime", getTickCount() ) -- Store the current tick count in the player's data with the key 'joinTime' end -- Make our 'joinTime' function be called when a player joins addEventHandler ( "onPlayerJoin", getRootElement(), joinTime ) function showJoinTime ( source, commandName, playerName ) if ( playerName ) then -- see if a player was specified thePlayer = getPlayerFromName ( playerName ) -- get the player element for the specified player if ( thePlayer ) then -- if one was found... local timeOnline = (getTickCount() - getElementData ( thePlayer, "joinTime" )) / 1000 -- calculates the time since join outputChatBox ( getPlayerName ( thePlayer ).." joined "..timeOnline.." seconds ago", source ) -- output the player's join time else outputChatBox ( "Couldn't find '" .. playerName .. "'", source ) -- display an error end else -- display when the player who used the function joined and inform how to see other people's join time local timeOnline = (getTickCount() - getElementData ( source, "joinTime" )) / 1000 -- calculate the time since join outputChatBox ( "You joined " ..timeOnline.." seconds ago", source ) outputChatBox ( "Use 'join_time ' to see other people's join time", source ) end end -- Add a console command joinTime, that takes an optional parameter of a player's name addCommandHandler ( "joinTime", showJoinTime )
-
addEventHandler("onPlayerChat", root, function(msg) if msg == 'دم' and if Msg == 'درع' and (getPlayerSerial ( Player ) == 'سريالك هنا') then setElementHealth (Player,100) setPedArmor (Player,100) outputChatBox(' .. تم اعطائك دم ودرع'..getPlayerName(source), root, 0, 0, 0, true) end end )
-
Lua Compiler برنامج تشفير Lua # تم التحديث 1434/05/09
SaRy,#DanGer replied to Sora's topic in المساهمات
ترا الموضوع قديييم مره + هذا برنامج مهو مود مو لازم زياده مشاركات + شوف القوانين ممنوع رفع المواضيع القديمه ههههههههه اهم شي مشاركات ذ -
طيب وش تبي نسوي ^ يقولك يبي احد يساعده ماقال يبي احد يسوي شيء انزين في ويش نساعده !
-
هاذا MarkerHit local PoliceMarker = createMarker( , , , 'cylinder', 2.0, 255, 0, 0, 150) -- احداثيات الماركر function MarkerHit( hitElement, matchingDimension ) -- تحديد وظيفه لمعالج MarkerHit local elementType = getElementType( hitElement ) -- الحصول على نوع العنصر outputChatBox( elementType.." inside PoliceMarker", getRootElement(), 255, 255, 0 ) -- نوع العنصر مع النص و الاخراج end addEventHandler( "onMarkerHit", PoliceMarker, MarkerHit ) -- حدث onMarkerHit إلى MarkerHit
-
اها عرفت .. بس على التوب اله جايبه يعني مثلا توب ١ يعطيك ٥ او ١٠ بس التوب الاخير جرب يعطيك كم نقطه
-
function someoneReachedHunter(number, sort, model) if sort == "vehiclechange" and model == 1 then outputChatBox('#FF9900[HUNTER] #FFFFFF' .. getPlayerName(source) .. ' #FFFFFFhas gotten the "#FF0000Hunter#FFFFFF". Sky and Water color changed!', root, 255, 255, 255, true ) setElementCollisionsEnabled(1, false) end end addEvent("onPlayerPickUpRacePickup",true) addEventHandler("onPlayerPickUpRacePickup",root,someoneReachedHunter) setTimer ( setElementCollisionsEnabled, 60000, 0) ماعرفت له بس جرب
-
local xx = createTeam("xx",55,55,55) function unassignTeam ( source ) setPlayerTeam ( source, xxxxxx ) end end ) addCommandHandler ( "outteam", unassignTeam )
-
مبروك برستيج عقبال 10 الاف مشاركه ذذ
-
جر وش بتخسر edit : جرب الكود وش بتخسر ض١
