Taza

Cod4x Codjumper poslog.gsx unitialised variable?

Recommended Posts

I need help with this script. When running the server, I receive a script error from poslog.gsx, I pulled it from, https://github.com/kristiandz/ebc-cj . Is there anyway I can fix this.? I have very little knowledge on scripting.

Here's the error I'm receiving:

Error: uninitialised variable 'cooldown': (file 'addons/poslog.gsx', line 3)
 if(isDefined(cooldown))
              *

 

poslog.gsx

Edited by Taza

Share this post


Link to post
Share on other sites

image.png.c5912bd555781c65b103a25eb923017b.png

Check your logPos(), there should cooldown in the function argument list.

Just checked the source, indeed the var is missing, I will be updating the repo.

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.