Jump to content
  • 0

ROTD - Race of The Day - Not enough arguments, expected -


Question

Posted

I'm trying to get the ROTD ICON to be shown in the buff icon bar

But it is giving this error.

 

OnPCLoginEvent:
    if (!.rotd_start_time) 
    end;
    .@time_passed = gettimetick(2) - .rotd_start_time;
    sc_start fakeicon: (getcharid(0), .rotdicon[.today_rotd], (.timer - (.@time_passed * 1000)), 1);
    end;

 

 

 

image.thumb.png.c03110a9fd180ab447819e60e14535d2.png

3 answers to this question

Recommended Posts

  • 0
Posted
On 2/17/2024 at 3:43 PM, botka4aet said:
sc_start	 <effect type>,<ticks>,<extra argument>{,<GID>};

 

sc_start  .rotdicon[.today_rotd], (.timer - (.@time_passed * 1000));

maybe something like that

Join the conversation

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

Guest
Answer this question...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...