Results 1 to 10 of 11

Thread: variables

Threaded View

  1. #9
    Quote Originally Posted by Scopey View Post
    im tired and brain dieing... setting it global???

    publicvariable "SCOPY_mycounter"; ????

    defining to player didnt work...
    public variable is that begins other than "_" such as:

    Code:
    SCOPY_mycounter = 10;    //this is a global variable
    Local variable are all ones that begins with "_" visibility of this variables is only in the current script or function.

    Code:
    _SCOPY_mycounter = 10;  //this is a local variable
    Last edited by Monsada; Feb 3 2010 at 12:11.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •