Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.