View Single Post
  #5  
Old 02-17-2006, 10:41 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Prozac
thanks, but then why dosent this work?
and what are the int numbers that this function accepts
and which ints alter what paramater of the function?

//#CLIENTSIDE
function onweaponfired()
{
player.chat=loadfolder("levels/images/*.png",1);
}

the player chat is 0
regardless of the int is 0 or 1

tried setting it as a string also but that didnt work either ...
so how do i access the array of file names that this command creates? that bit of info is not on the wiki...
I'd think it would be an array of strings, but perhaps it's an array of objects? I dunno.
Reply With Quote