Jump to content
  • 0

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


fckng

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  03/27/13
  • Last Seen:  

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

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

sc_start	 <effect type>,<ticks>,<extra argument>{,<GID>};

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  03/27/13
  • Last Seen:  

5 hours ago, botka4aet said:
sc_start	 <effect type>,<ticks>,<extra argument>{,<GID>};

 

i did not work

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  103
  • Reputation:   17
  • Joined:  07/28/12
  • Last Seen:  

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

Link to comment
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
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.

×
×
  • Create New...