Jump to content

Trefeor

Members
  • Posts

    270
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Trefeor

  1. @N3xT مشكور على التنبيه addEventHandler ( "onPlayerWasted" , root , function ( _ , killer ) if ( killer and isElement ( killer ) and getElementType ( killer ) == "player" and killer ~= source ) then outputChatBox ( getPlayerName ( source ) .. " killed by "..getPlayerName(killer) ) end end )
  2. addEventHandler ( "onPlayerWasted" , root , function ( _ , killer ) if ( killer and isElement ( killer ) and getElementType ( killer ) == "player" ) then outputChatBox ( getPlayerName ( source ) .. " killed by "..getPlayerName(killer) ) end end )
  3. عشان لو كان العدد مثلا 5.9995 يخليه لك 5
  4. 'onClientRender' getElementPosition getDistanceBetweenPoints3D math.floor dxDrawText
  5. ناقصك اند بالكوماند addCommandHandler ("takeM", function (source,cmd,name,amount) local playerStealFromHimMoney = getPlayerFromPartialName (name) local gplayer = getNearestVehicle ( playerStealFromHimMoney , 1 ) if gplayer then takePlayerMoney ( playerStealFromHimMoney, tonumber(amount) ) givePlayerMoney ( source, tonumber(amount) ) else outputChatBox ("* Error :#ffffff يجب ان تقترب من الاعب لاخد منه فلوس !",source,255,0,0,true) end end )
×
×
  • Create New...