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

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 2 3 4 5 6 … 18 Next »
Player:nick() & Player:name()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Player:nick() & Player:name()
27-10-2020, 08:10 PM,
#1
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
Player:nick() & Player:name()
Both are the same exact functions so why having 2 of em.

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
27-10-2020, 09:44 PM,
#2
Skeleton Offline
Cheating Donating Member ( ͡° ͜ʖ ͡°)
****
Posts: 199
Threads: 30
Joined: Nov 2014
RE: Player:nick() & Player:name()
(27-10-2020, 08:10 PM)The17thDoctor Wrote: Both are the same exact functions so why having 2 of em.

I don't see what's the problem here. There's just aliases calling the same function, but they exist because of GLua heritage.

[Image: giphy.gif]
Find
Reply
28-10-2020, 10:40 AM,
#3
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Player:nick() & Player:name()
Ideally there would be one method for it, but GLua has 3 of them (thanks Garry). I ended up binding 2 of the 3 to allow people who have worked in GLua and picked one of them to be able to use their preferred version.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


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

Powered By MyBB, © 2002-2026 MyBB Group.