Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Dialog buttons local or global?  (Read 2266 times)

0 Members and 1 Guest are viewing this topic.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Dialog buttons local or global?
« on: 11 Nov 2007, 19:04:00 »
Hi there

I have a dialog, that once clicked runs a script.

Now, I want to know that if the player clicks the button, the script is local to that player?

I have a script that has a cash variable, and I don't want this variable changed for everyone. So, if I was to run a script from a dialog, would it run on all computers and server?

Thanks.

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Dialog buttons local or global?
« Reply #1 on: 11 Nov 2007, 21:42:25 »
Everything to do with dialogs is totally local (both the visual display and scripts run through event handlers). Fear not!
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: Dialog buttons local or global?
« Reply #2 on: 12 Nov 2007, 21:47:06 »
Thank you Spooner. Something less I have to worry about :D