Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Expression 2 v
« Previous 1 … 4 5 6 7 8 Next »
HELP! with find()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
HELP! with find()
22-02-2015, 01:35 AM,
#7
TheOneAndOnlyTee Offline
GMod Admin
Posts: 755
Threads: 47
Joined: Oct 2013
RE: HELP! with find()
oh right didn't see that, Fix:
Code:
if(changed(players():count())){ Players = players() }
and if you wanted to know how you could display an entire list for your screen, Example:
Code:
@name Example Array Draw @inputs EGP:wirelink @persist Players if(first()|duped()|changed(EGP)){ EGP:egpBox(1,vec2(256,256),vec2(512,512)) EGP:egpColor(1,vec(0,164,255)) EGP:egpBox(2,vec2(256,256),vec2(492,492)) EGP:egpColor(2,vec(41,41,41)) Players = players() for(I =1,Players:count()){ EGP:egpText(2+I,Players[I,entity]:name(),vec2(50,50*I)) EGP:egpColor(2+I,vec(0,164,255)) } }

Steam Profile
My Discord Server
Need help with E2 or SF? , just ask me and i'll try to help.
[Image: 98Dkcoz.gif]
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
HELP! with find() - by Alanzote - 19-02-2015, 01:43 PM
RE: HELP! with find() - by Alanzote - 20-02-2015, 10:18 PM
RE: HELP! with find() - by Blackhawk - 20-02-2015, 11:38 PM
RE: HELP! with find() - by Alanzote - 21-02-2015, 11:59 AM
RE: HELP! with find() - by TheOneAndOnlyTee - 21-02-2015, 04:52 AM
RE: HELP! with find() - by Blackhawk - 21-02-2015, 02:31 PM
RE: HELP! with find() - by TheOneAndOnlyTee - 22-02-2015, 01:35 AM
RE: HELP! with find() - by Alanzote - 28-02-2015, 01:59 PM
RE: HELP! with find() - by Blackhawk - 28-02-2015, 02:46 PM
RE: HELP! with find() - by Alanzote - 28-02-2015, 04:56 PM
RE: HELP! with find() - by Blackhawk - 28-02-2015, 05:27 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.