Jump to content
LifeSnatcher

help with creating server side addon just for scripts.

Recommended Posts

i am a noob, i know that.
im trying to create a server side addon that i can put my scripts/functions in. i have a test setup that is just supposed to do hello world. can someone please tell me what im doing wrong.
thank you for any help.

 

image of my current setup.

https://imgur.com/a/cfRcA3i

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, LifeSnatcher said:

image

 

Hello there LifeSnatcher !

 

It would be better to post your code.

Share this post


Link to post
Share on other sites

Works fine for me if I load up your mod and test the functions exist and work.

How are you testing? As I see in your picture you are calling feature_0_fnc_apply from the initPlayerLocal.sqf.

If your testing on a dedicated then nothing will happen as the function is in a server side mod only.

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, Larrow said:

Works fine for me if I load up your mod and test the functions exist and work.

How are you testing? As I see in your picture you are calling feature_0_fnc_apply from the initPlayerLocal.sqf.

If your testing on a dedicated then nothing will happen as the function is in a server side mod only.

 

yep your right. works fine when i RE if from initserver.sqf.

how can i call functions from the client?

Share this post


Link to post
Share on other sites
1 hour ago, Larrow said:

Works fine for me if I load up your mod and test the functions exist and work.

How are you testing? As I see in your picture you are calling feature_0_fnc_apply from the initPlayerLocal.sqf.

If your testing on a dedicated then nothing will happen as the function is in a server side mod only.

 

NVM I finally figure it out yay. thanks guys.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×