Jump to content

طلب اكواد


Recommended Posts

7 hours ago, iMr.WiFi..! said:

احذف التايمر الي سويته , وبدله بذا


local KillsData = "kills" 
local LevelData = "level" 


addEventHandler("onPlayerWasted",root,
function ( _ , Killer ) 
if ( Killer and isElement ( Killer ) and getElementType ( Killer ) == "player" and not isGuestAccount ( getPlayerAccount(Killer) ) and source ~= Killer ) then
local killerKills = ( getAccountData ( getPlayerAccount(Killer) , KillsData ) or 0 ) ;
local killerLevel = ( getAccountData ( getPlayerAccount(Killer) , LevelData ) or 0 ) ;
if ( killerKills >= 100 ) then 
local newScore =  ( killerLevel + 1 )
setAccountData ( getPlayerAccount(Killer) , KillsData , 0 )
setAccountData ( getPlayerAccount(Killer) , LevelData , newScore ) ;
--exports["TopBarChat"]:sendClientMessage ("#[ نظام اللفل ]x ".. getPlayerName(Killer) .." #D88B27[".. newScore .." لفل]x قد تم ترقيه إلي" ,root, 216, 139, 39 ,true)
triggerClientEvent ( Killer, "t", Killer, killerLevel )
      else
setAccountData ( getPlayerAccount(Killer) , KillsData , ( killerKills + 1 ) ) ;
end
end
end 
);


وانا مسوي --
على الاكسبورتس توب بار شات انت امسحه وعدلهه , : )

طب فين الكلنت ولا انا الكلنت حقي مزبوط

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...