Results 1 to 6 of 6

Thread: working with exec_async

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    GetEntByNum() is one of those functions with a developer flag, they only work in a /# ... #/ comments like:

    PHP Code:
    /
        
    entity clientNumToEntityint(result[0]));
        if(
    result[1]=="OK"){
            
    entity iprintln("OK");
    #/ 
    Compiler will ignore everything under /# ... #/ comments unless developer_script is set to 1.

    There is no performance impact on calling exec_async_checkdone every frame, well you can call it
    not per frame maybe every 0.1 or something but you're gonna end up with slightly delayed callbacks then.
    Last edited by voron00; 29th May 2019 at 06:20.
    sudo apt-get rekt

  2. The Following 2 Users Say Thank You to voron00 For This Useful Post:

    kung foo man (29th May 2019),Miri (29th May 2019)

Posting Permissions

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