Jump to content

Question

Posted

how to make a script that runs on a particular day, I want a script that runs every Wednesday, Saturday, & Sunday 07:00pm - 08:00pm. if anyone can help me edit the script? thanks

-    script    killerwoesatu    -1,{
OnPCKillEvent:
   getmapxy(.@map$,.@x,.@y,0);
   if(.@map$=="aldeg_cas01"){
set #CASHPOINTS,#CASHPOINTS+2;
dispbottom "Kamu mendapat 2 Cash Point. Total "+#CASHPOINTS+" Cash Points.";
end;
}
}

2 answers to this question

Recommended Posts

Posted

Try this:

-	   script  killerwoesatu   -1,{
OnPCKillEvent:
   getmapxy(.@map$,.@x,.@y,0);
   if(.@map$=="aldeg_cas01" && (gettime(4) == 3 || gettime(4) == 6 || gettime(4) == 0) && gettime(3) == 19 )
{
 set #CASHPOINTS,#CASHPOINTS+2;
 dispbottom "Kamu mendapat 2 Cash Point. Total "+#CASHPOINTS+" Cash Points.";
 end;
}
}

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