Snakegold Posted August 27, 2018 Share Posted August 27, 2018 شباب بدي عدد اللاعبين الذين على قيد الحياة يكتب رقمهم بس اي لو في 2 لاعبين على قيد الحياة يكتب 2 Client function draw2() if ( getElementDimension(localPlayer) == 1 ) then dxDrawText(alivePlayers,0,sY*0.001,sX,sY,tocolor(255,255,255,255),1,"bankgothic","center","top",false,false,false) end end Server function getalive () local alivePlayers = getAlivePlayers () if ( alivePlayers ) then triggerClientEvent ( "alive" ) end end Link to comment
Abdul KariM Posted August 27, 2018 Share Posted August 27, 2018 getElementsByType getElementDimension isPedDead table.insert Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now