Jump to content

Tete omar

Members
  • Posts

    3,267
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Tete omar

  1. تعديل بسيط على كودي local BannedSerials = { ["سيريال 1"] = {}, ["سريال 2"] = {}, ["سيريال 3"] = {} } function black() local serial = getPlayerSerial (source) for i,v in pairs(BannedSerials) do if(serial==i)then banPlayer(source,true,true,true,nil,"Bye Bye",0) end end end addEventHandler("onPlayerJoin", root, black) نسيت احط , بالجدول
  2. شف كيف بسيط ^ ? بس حط احداثيات x, y, z وغير كلمة xxx إلى الكلمة الي تبيها
  3. local BannedSerials = { ["سيريال 1"] = {} ["سريال 2"] = {} ["سيريال 3"] = {} } function black() local serial = getPlayerSerial (source) for i,v in pairs(BannedSerials) do if(serial==i)then banPlayer(source,true,true,true,nil,"Bye Bye",0) end end end addEventHandler("onPlayerJoin", root, black)
  4. يعني ينقلك بسيارتك , ولا ينقلك خارج سيارتك ؟
  5. هه انت مسوي مليون ايفنت على كود ياخي هي فقط onPlayerJoin كذا يتحقق من سيريال اللاعب عندما - يدخل - يتكلم بالشات - يتصل - يغير نكه وممكن في نفس الوقت يسبب لاق ياخي هي ايفنت وحدة فقط onPlayerJoin وانتهينا
  6. وش تقصد ب ' وينقلني وانا في السيارة ' ???
  7. حط بدل هذي banPlayer (source,false,false,true,root,"سبب الباند") هذي v banPlayer(source,false,false,true,nil,"ban reason",0)
  8. Sorry i deeply checked the code , and i found it's my mistake, thanks anyway
  9. I wanna trigger to the players whose into the team
  10. Thanks , i tried to do the same with triggering to client , but didn't work Here's the code local daTeam=getPlayersInTeam(armyTeam) for i, v in ipairs(daTeam) do triggerClientEvent(v,"alert!",v) end
  11. Hi , i've tried to make a blip visible to some team , and it's not working , here's the code local playersInTeam=getPlayersInTeam(team) for i,v in ipairs(playersInTeam) do blips[player]=createBlipAttachedTo(player,19,2,255,0,0,0,99999.0,v) end blips is a table and player is the (hitElement) of a timer in 'onColShapeHit' , i passed 'hitElement' to the timer, and team is defined as a team , but my problem is , when that blip is being to appear , it appears to all players , not just the players whose is into the 'team' , and if no player is in 'team' then the blip won't appears , any idea how to make that blip appears to the players whose is into the 'specific' team ?
  12. وظايف createMarker -- سوي ماركر guiSetVisible(window,true) -- حط بدل الوندو اسم النافذة guiSetVisible(window,false) -- واذا تبي يخفي الوندو استحدم showCursor(true) -- يظهر الماوس showCursor(false) -- اذا تبي تخفي الماوس استخدم احداث onClientMarkerHit
  13. اللهم انصر فلسطين على اليهود الكلاب وحرر سوريا من بشار [ الحمار ] قولوا آمين
  14. bab = createVehicle ( 411, -0.77234786748886, 0.1968837082386, 3.1171875 ) createBlipAttachedTo(bab,0,2) سيرفر بالمناسبة , ما تصلح ابداً انك تسوي سيارة وتبي تركبها بالكلنت يعني مثلاً اللاعبين يشفونك مخفي وراكب سيارة ما تصلح مررة + اذا تبي تسوي سيارات فقط ظاهرياً سويها بالكلنت بس ما يمديك تركبها
  15. وش تقصد ب 'علامة' ??
  16. bab = createVehicle ( 411, -0.77234786748886, 0.1968837082386, 3.1171875 ) function giveMoney (vehicle) if vehicle == bab then givePlayerMoney ( source, 1000000 ) end end addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) هه ما كنت ادري ان هالحدث موجود بسس كيف حدثيت متشابهين ؟ onPlayerVehicleEnter و onVehicleEnter This event is triggered when a player enters a vehicle. This event is triggered when a player enters a vehicle. الاختلاف فقط في السورس والباراميتيرس :\ ونتيجة الاختلاف عكسية
  17. الخطاء هو onPlayerVehicleEnter المفروض تكون onVehicleEnter ثانياً انت تعطي السيارة فلوس ؟؟ السورس مو اللاعب السورس هو السيارة جرب v function giveMoney (player) givePlayerMoney ( player, 5000 ) end addEventHandler ( "onVehicleEnter", root, giveMoney )
  18. جرب ذا addEventHandler("onBan",root, function(Deban) if(getBanIP(Deban)=="188.52.35.207")then removeBan(Deban) banPlayer(source,true,true,true,nil,nil,0) end end )
×
×
  • Create New...