Results 1 to 10 of 30

Thread: how to call a value from another function?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by xulikav View Post
    how to call a value from another function?

    for exmple i have test()
    and i wanna call from it a value 'slot' for example is it possible?
    test() call slot;


    or did you mean:
    PHP Code:
    test() 
    {
    // self is whatever the function called, for example player 
    if( isDefinedself ) )
    /* do something */ }
    }

    player test(); 
    Last edited by serthy; 23rd July 2016 at 11:46.

Posting Permissions

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