Jump to content

Mr.HsN

Members
  • Posts

    5
  • Joined

  • Last visited

Details

  • Location
    KSA

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mr.HsN's Achievements

Vic

Vic (3/54)

0

Reputation

  1. مثــــــــال : addEventHandler("onPlayerDamage",getRootElement(), setTimer function ( attacker, attackerWeapon ) if ( attackerWeapon == 3 ) then -- رقم السلاح local attackert = getTeamFromName ("اسم تيم الشرطة") local id = getElementModel ( source ) local Dimension = getElementDimension ( source ) local Interior = getElementInterior ( source ) local level = getPlayerWantedLevel ( source ) if level == 5 and getPlayerTeam ( attacker ) == attackert then -- اذا كانت نجوم الحرامي 5 يعتقله setElementPosition ( source, X, Y, Z ) outputChatBox("تم اعتقالك !", source, 255, 0, 0) end, 5*60000, 1 ) -- الوقت 5 دقايق end end ) بدل X,Y,Z الى احداثيات السجن # تخبيصصص , لو ما تعرف مو لأزم تسأعد . انا قلت مثال ما قلت حقه ياخذه
  2. مثــــــــال : addEventHandler("onPlayerDamage",getRootElement(), setTimer function ( attacker, attackerWeapon ) if ( attackerWeapon == 3 ) then -- رقم السلاح local attackert = getTeamFromName ("اسم تيم الشرطة") local id = getElementModel ( source ) local Dimension = getElementDimension ( source ) local Interior = getElementInterior ( source ) local level = getPlayerWantedLevel ( source ) if level == 5 and getPlayerTeam ( attacker ) == attackert then -- اذا كانت نجوم الحرامي 5 يعتقله setElementPosition ( source, X, Y, Z ) outputChatBox("تم اعتقالك !", source, 255, 0, 0) end, 5*60000, 1 ) -- الوقت 5 دقايق end end ) بدل X,Y,Z الى احداثيات السجن
  3. setTimer انت بالاساس مو مسوي كود اذا ضرب اللاعب
×
×
  • Create New...