View Single Post
  #1  
Old 10-14-2014, 07:38 PM
Struggler Struggler is offline
Zone Repulser =D
Struggler's Avatar
Join Date: May 2006
Posts: 54
Struggler is an unknown quantity at this point
Adding clientr variables via weapons

Hello, I was just wondering if maybe someone could help me, I seem to be having a lot of trouble adding a clientr variable to a player via the weapon he holds. Is there any way to accomplish this? So far I've tried clientr.[variablenamehere].add(0) but it thinks its an array so it automatically adds a comma after the number. I've also tried just clientr.[variablename] = 0 but it doesnt add the variable because it doesn't exist yet. Any help would be greatly appreciated

Note: Also tried clientr.[variablenamehere].add(0) and then using clientr.[variablenamehere] = 0 in the same script but it refuses to add it because clientr.[variablenamehere] = 0 seems to be faulty in some way.
Reply With Quote