Author Topic: Help me with a e2  (Read 644 times)

0 Members and 1 Guest are viewing this topic.

Offline Cesar

  • Regular Member
  • ***
  • Posts: 227
  • Karma: +4/-9
  • Gender: Male
  • Can anyone give me good karma?
    • View Profile
Help me with a e2
« on: July 04, 2010, 03:51:00 PM »
Hi

I need a help: I wanted to give an e2 accesso to the players. Do not understand? Explain better.
A e2 which is connected to a panel. This panel has the names of all players that are on the server. Then they select a player on the panel and the sensor accepts it.

Peetah can explain better if not understood.
« Last Edit: July 04, 2010, 03:52:43 PM by Cesar »
   

Offline ArTIk*BaNAnA

  • Madman
  • WaffleBBQrz
  • ******
  • Posts: 2490
  • Karma: +28/-34
  • Changes are part of life, changes are good.
    • View Profile
Re: Help me with a e2
« Reply #1 on: July 04, 2010, 03:56:15 PM »
Hi

I need a help: I wanted to give an e2 accesso to the players. Do not understand? Explain better.
A e2 which is connected to a panel. This panel has the names of all players that are on the server. Then they select a player on the panel and the sensor accepts it.

Peetah can explain better if not understood.

I can't really help you cause I suck at E2, but I think you want to make an E2 that shows all the players currently connected to the server, and then you can choose a player, and a sensor points at that player like a radar?
Hope I'm right and that it will help other people understand =D

Offline Tomcat

  • Smartical
  • Übermensch
  • *****
  • Posts: 1694
  • Karma: +42/-13
  • Gender: Male
  • OMG IS DAT A CHEEZEBURGER
    • View Profile
    • Rnd Upload
Re: Help me with a e2
« Reply #2 on: July 04, 2010, 04:00:06 PM »
you would need an array

Quote
Andrew: your mom spazzes
.:RND`=- Tomcat: not me
Tomcat: andrew
Tomcat: dont go there
.:RND`=- Tomcat: i will rape you all they way back to 1980

Offline Krasher

  • -=RND Help Center=-
  • WaffleBBQrz
  • ******
  • Posts: 2764
  • Karma: +75/-47
  • Gender: Male
  • PM me if you have questions.
    • View Profile
    • Forum Page
Re: Help me with a e2
« Reply #3 on: July 04, 2010, 04:41:59 PM »
@name Test
@persist [Array Players]:array

findByClass("player")
Players=findToArray()

for(I=1,Players:count()){
    Array[I,string]=Players[I,entity]:name()
}

for(K=1,Players:count()){
    print(Array[K,string])
}
-Admin Application-

Follow the rules or I will you.

Offline SheepsAholy

  • Regular Member
  • ***
  • Posts: 211
  • Karma: +8/-2
  • Gender: Male
  • BAAA or GTFO
    • View Profile
Re: Help me with a e2
« Reply #4 on: July 04, 2010, 10:48:18 PM »
He asked me to do this for him a few days ago. He wants:
1. All the names of current players ingame to be on a screen
2. Up & Down button that highlights a name on the screen
3 . A button to Change control (Move Highlighted player to Allowed | Disallow Array)
4. To output a value to open a door when any allowed player comes with-in range of said door.

Sounds kinds technical 2 me, and I'm too lazy lol.




Offline Cesar

  • Regular Member
  • ***
  • Posts: 227
  • Karma: +4/-9
  • Gender: Male
  • Can anyone give me good karma?
    • View Profile
Re: Help me with a e2
« Reply #5 on: July 05, 2010, 07:44:09 AM »
Hope that helps
   

Offline Tomcat

  • Smartical
  • Übermensch
  • *****
  • Posts: 1694
  • Karma: +42/-13
  • Gender: Male
  • OMG IS DAT A CHEEZEBURGER
    • View Profile
    • Rnd Upload
Re: Help me with a e2
« Reply #6 on: July 12, 2010, 12:14:40 PM »
Hope that helps
make peettah halp joo

Quote
Andrew: your mom spazzes
.:RND`=- Tomcat: not me
Tomcat: andrew
Tomcat: dont go there
.:RND`=- Tomcat: i will rape you all they way back to 1980