Author Topic: Whats wrong with this?  (Read 587 times)

Wtf is wrong with this:

Code: [Select]
localclientconnection.player.giveDefaultEquipment();
Error: Unable to find object: '' attempting to call function 'GiveDefaultEquipment'
« Last Edit: June 10, 2010, 03:49:30 PM by Pew446 »

try setDefaultEquipment

If it's unable to find the object then you are most likely trying to give weapoms to something that doesn't exist. Also, the topic title is ambiguous, fix it.

If it's unable to find the object then you are most likely trying to give weapoms to something that doesn't exist. Also, the topic title is ambiguous, fix it.

When I try
Code: [Select]
GetclientbyBL_ID(5844).player.giveDefaultEquipment();
It does the exact same.
« Last Edit: June 10, 2010, 03:49:46 PM by Pew446 »

Where do you get the names of these?
findclientbyBL_ID(5844)

woops didnt read damn

giveDefaultEquiptment();

as Sebster said
Get out, you have no clue what you're talking about.

Get out, you have no clue what you're talking about.
i edited my post :c

localclientconnection only works on a non-dedicated server and if you're the host.

localclientconnection only works on a non-dedicated server and if you're the host.
Oh :3 Well why doesn't the other script work?

Where do you get the names of these?
findclientbyBL_ID(5844)

Where do you get the names of these?
findclientbyBL_ID(5844)

I was searching why getclientbyname didn't work anymore and some kid said to use getclientbyBL_ID

Edit: Where the forget did I get that?

Edit again: Ahh stuff it's findClientByBL_ID
« Last Edit: June 10, 2010, 03:54:00 PM by Pew446 »