Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2024, 05:34:03 PM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Kills List
Pages: [1]
Author Topic: Kills List  (Read 3192 times)
Manmax75
Poster

Posts: 254


Programming Guy


« on: October 04, 2010, 07:56:04 AM »

I am trying to copy the players kill list into an array that will be displayed in a VGUI. However I keep getting a table nill error with this code:


acceptablePeople = table.Copy(LocalPlayer().kills)


Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #1 on: October 04, 2010, 08:27:40 AM »

The list of kills is serverside. You're trying to access it clientside, where it does not exist (hence the nil error). You will have to send it to the client using a usermessage, like the body search code does.
Manmax75
Poster

Posts: 254


Programming Guy


« Reply #2 on: October 04, 2010, 08:54:04 AM »

Thanks.

Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Kills List « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.008 seconds with 17 queries.