File path within addon

Discussion in 'Help Wanted' started by SLIgaming, Jul 25, 2018.

Tags:
  1. SLIgaming

    SLIgaming Member

    Joined:
    Jan 29, 2017
    Messages:
    59
    Likes Received:
    8
    Can some help me with the correct method to executing a script or file path of an image in a plugin ?

    I.e: _nill = execVM "\x\addons\myaddon\script\myscript.sqf";

    any help would be great

    Cheers
     
    Last edited: Jul 26, 2018
  2. B.A.D.

    B.A.D. Active Member

    Joined:
    Dec 21, 2017
    Messages:
    109
    Likes Received:
    29
    You wont execvm inside a plugin.you declare the function in config.cpp and spawn it when needed.
     
    SLIgaming likes this.
  3. Legodev

    Legodev Developer Staff Member

    Joined:
    Jul 18, 2016
    Messages:
    408
    Likes Received:
    144
    And images have to be in the client files or mission file anyway, you can't send textures to the client via the server.
     
    SLIgaming likes this.

Share This Page