Whit3 Posted November 29, 2013 Posted November 29, 2013 i Want To get the count of the state of alive players local g_Me = getLocalPlayer() function check () alive = getElementData(g_Me, "state") ~= "alive" if alive <= 0 then outputChatBox ("Test") end end
Castillo Posted November 29, 2013 Posted November 29, 2013 You want to get the amount of alive players?
Tete omar Posted November 29, 2013 Posted November 29, 2013 If yes, then you could simply use: getAlivePlayers
Whit3 Posted November 30, 2013 Author Posted November 30, 2013 You want to get the amount of alive players? I want to get the amount of the state alive players
Castillo Posted November 30, 2013 Posted November 30, 2013 That doesn't make any sense. You want to know how much alive players there are or is it something else?
bandi94 Posted November 30, 2013 Posted November 30, 2013 function check() local alive = getAlivePlayers() outputChatBox("there are: "..#alive.. " alive players") end
Whit3 Posted November 30, 2013 Author Posted November 30, 2013 function check() local alive = getAlivePlayers() outputChatBox("there are: "..#alive.. " alive players") end Thanks i mean that
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