-
Posts
1,388 -
Joined
-
Last visited
-
Days Won
14
Everything posted by +Source|>
-
سلام عليكم ابي لما اللاعب يدخل يجيله عدد مرات دخوله للسيرفر --client var = 0 addEvent("j77", true) addEventHandler("j77", root, function() setTimer( function() outputChatBox( "#ffff00".. getPlayerName( localPlayer ) .."#ffff00 حيا الله تو ما نور السيرفر ياحب",255 ,255 ,0, true ) outputChatBox( "#00ff00 $ ".. getPlayerMoney( localPlayer ) .."#00ff00 المبلغ اللي بيدك ",255 ,255 ,0, true ) outputChatBox( " " .. var .. " : عدد مرات دخولك للسيرفر ",255 ,255 ,0, true ) end, 50, 1 ) var = var + 1 end ) --server addEventHandler("onPlayerJoin", root, function() triggerClientEvent( source, "j77", source ) end )
-
فكره كويسه بشتغل على واحد حلو كذا
-
-
مب راضي يشتغل ابي لما احدد لاعب من الجريد ليست واضغط زر يسويله ميوت --server addEvent("muted", true) addEventHandler("muted", root, function( nn ) if nn then local victim = getPlayerFromName( nn ) if victim then if ( not isPlayerMuted( victim ) ) then setPlayerMuted( victim, true ) outputChatBox( "You Have Been Muted .", victim, 255, 0, 0, true ) end end end end ) --client addEventHandler("onClientGUIClick", root, function() local ss = guiGridListGetSelectedItem( spgrid ) local tt = guiGridListGetItemText( spgrid, ss, 1 ) local nn = guiGridListGetItemText( spgrid, guiGridListGetSelectedItem( spgrid ), 1 ) if source == spmute then if ( ss ~= -1 ) then triggerServerEvent( "muted", localPlayer, nn ) else outputChatBox( "Please Select Player !", 255, 0, 0, true ) end end end )
-
ابي اسوي لما ايكتب في الجريد ليست الرو اللي ينكتب يجي فوق مو تحت
-
addEvent ( 'AddInGridSp' , true ) addEventHandler ( 'AddInGridSp' , root , function( Table ) guiGridListClear( spgrid ) for i, v in ipairs( Table ) do local Row = guiGridListAddRow( spgrid ) guiGridListSetItemText( spgrid, Row, 1, v.name , false, false ) guiGridListSetItemText( spgrid, Row, 2, v.msg , false, false ) guiGridListInsertRowAfter ( spgrid, Row ) guiGridListInsertRowAfter ( spgrid, Row ) end end ) ما يشتغل
-
جرب -----client L3yr1 =createMarker ( 1782.4000244141, 808.5, 10, "cylinder",5 ,255 ,255,0,0) L3yr2 =createMarker ( 1792.06067, 808.45959, 10, "cylinder",5 ,255 ,255,0,0) ----DX function open(gg)--وظيفة if isPedInVehicle ( gg ) then addEventHandler("onClientRender", root,dx) end--نهاية قوس الحدث end addEventHandler("onClientMarkerHit",L3yr1,open) addEventHandler("onClientMarkerHit",L3yr2,open) -------------------------------------------------- function ee(aa ) if aa == "1" then if source == L3yr1 then triggerServerEvent ( "open", localPlayer ) removeEventHandler("onClientRender", root,dx) end end end addEventHandler( "onClientKey", root,ee) ------------- function eee(aaa ) if aaa =="2" then if source == L3yr2 then triggerServerEvent ( "open2", localPlayer ) removeEventHandler("onClientRender", root,dx) end end end addEventHandler( "onClientKey", root,eee)
-
القسم خاطيء
-
guiSetVisible getPedOccupiedVehicle destroyElement setTimer createVehicle getElementPosition warpPedIntoVehicle
-
وممكن كمان getPedOccupiedVehicle
-
سلام عليكم تعرفون طبعاً ال progress bar كيف اخليه يتحرك لليمين زي التحميل كذا
-
+ setElementPosition createVehicle warpPedIntoVehicle
-
والله ابداع × ابداع واصل يكفووو هل المود مشفر؟؟
-
--client guiGridListGetItemText guiGridListGetSelectedItem guiGridListClear guiGridListSetItemText guiGridListAddRow 'onClientGUIClick' triggerServerEvent getPlayerName --server getPlayerFromName setElementHealth اعتقد بس
-
فرحت فرح لما سويت مود مكون من سطرين بس addEventHandler("onPlayerSpawn", root, function() outputChatBox( "You Spawned", source, 255, 0, 0, true ) end)