Jump to content

^iiEcoo'x_)

Members
  • Posts

    2,935
  • Joined

  • Last visited

  • Days Won

    44

Everything posted by ^iiEcoo'x_)

  1. Vehicle ! -- # Example local Table = { } addCommandHandler ("Car", function ( player ) local x , y , z = getElementPosition ( player ) local Table[player] = createVehicle( id , x , y , z ) end ) addEventHandler ("onPlayerQuit",root, if isElement ( Table[source] ) then destroyElement ( Table[source] ) Table[source] = nil end end )
  2. عهههههاي ، ما رح يساعدوه لانه الفكرة مسروقة #
  3. ظيفة للقروب الادمن واعطيه صلاحية aclGroupAddObject
  4. addEventHandler ("onPlayerWasted",root, function ( _ , attacker ) if ( attacker ) then if not isGuestAccount ( getPlayerAccount ( attacker ) ) then outputChatBox ( " * System :- "..getPlayerName ( attacker ).." Kill The Player "..getPlayerName ( source ).." & Win 1 Point " , root ) setAccountData ( getPlayerAccount ( attacker ) , "L.v.L" , getAccountData ( getPlayerAccount ( attacker ) , "L.v.L" ) + 1 ) end end end ) addEventHandler ("onElementDataChange",root, function ( ) if not isGuestAccount ( getPlayerAccount ( source ) ) then if getAccountData ( getPlayerAccount ( source ) , "L.v.L" ) then if getAccountData ( getPlayerAccount ( source , "L.v.l" ) <= 50 then if ( tostring ( getAccountName ( getPlayerAccount ( source ) ) ) ) then aclGroupAddObject ( aclGetGroup( "FBI" ) , "user."..tostring ( getAccountName ( getPlayerAccount ( source ) ) ) ) end end end end end ) جرب ،
  5. correction code Dzsozi cancelableworld = { ":~", ":Oyou", "bitch" } addEventHandler("onPlayerChat", root, function(message, msgTyp) local Level = getElementData(source,"Level") outputChatBox("#4C7759[LVL "..Level.."] #FFFFFF"..getPlayerName(source)..": #FFFFFF"..message,getRootElement(),255,255,255,true) local message = string.lower(message) for i,v in ipairs(cancelableworld) do if (string.find(message, cancelableworld[i])) then cancelEvent() outputChatBox("*NO*", source, 255, 0, 0, false) end end end)
  6. local aData = "Level" addEventHandler("onPlayerChat",getRootElement(), function ( aMsg ) if ( getElementData ( source , aData ) == true ) then cancelEvent () outputChatBox ("[ level "..getElementData ( source , aData ).." ] "..getPlayerName ( source ).." : "..aMsg , root ) end end )
  7. local Table = { "Rank", "TheMoG", } addEventHandler("onPlayerChat",getRootElement(), function ( msg ) for i,v in pairs ( Table ) do if ( string.find ( msg , v ) ) then cancelEvent() outputChatBox( " No " , source ) end end end ) Try This
  8. مقهروين #مدريدي_ولو_قطعو_وريدي #مدريدي_حتى_النخاع
  9. هو حلو ، بس مشكلته بالشات ، الشات سرييييييع
  10. local aData = " " -- data name addCommandHandler ( "aMoney" , function ( aPlayer ) if getElementData ( aPlayer , aData ) then givePlayerMoney ( aPlayer , 5 ) else outputChatBox ( " System :- You Are Not In Data " , aPlayer ) end end )
  11. ننتظر الكلاسيكو ب 24/4 ولا تنسى 11 - 1
  12. function getRandom ( aTable , aMoney ) for k,v in ipairs ( aTable ) do local aPlr = getRandomPlayer ( v ) outputChatBox ( aPlr , root ) givePlayerMoney ( aPlr , tonumber ( aMoney ) ) end end جربه + حطه باول الكود getRandom ( aTable , aMoney ) aTable -- اسم الجدول aMoney -- عدد المال
×
×
  • Create New...