Welcome, Guest. Please login or register.
Did you miss your activation email?
September 19, 2024, 09:15:10 PM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Kills List
Pages: [1]
Author Topic: Kills List  (Read 3154 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.011 seconds with 19 queries.