ID:922625
 
(See the best response by Ter13.)


Problem description:
Can any1 help me code a character selection system like wen u click a character it cant be chosen by other players

eg:If i picked or clicked gaara(Character)
No one can choose him till round is over

Best response
Create a global list variable and populate it at runtime. When someone selects that character, check if it is still in the list. If it is still in the list, remove it from the list. If it is no longer in the list, prompt the player to select again.
just to show the global list variable
Thx
On another note; Please don't ask for people to help you make something here, this forum isn't meant to have people do things for you. Instead, try posting in the Classified Ads section if you want someone to do something for you.