Hello, how can i make this daily reward check ip ?
//==================== Informacion ==========================
//==== Recompensa Diaria==========================
//*************************************************************************
//=========================== Conf ==================================================================================
set .@rewname$,"^0000FF[ Premio Diario ]^000000";
setarray .items[0],507,506,508,509,510; //items
//********************************************************************************************************************
prontera,150,206,4 script Prize 563,50,50,{
if(gettimetick(2) - lastTimeTalked > (60 * 60 * 24)) {
mes .@rewname$;
mes "Wanna get your daily reward?";
next;
switch(select("-Yush!:-No,thx!:-Cancel")) {
case 1:
set lastTimeTalked,gettimetick(2);
mes .@rewname$;
mes "Allright!";
mes .@rewname$;
set .@random,rand(1,25);
getitem .items[.@random],1;
close;
case 2:
mes .@rewname$;
mes "Okay bye!";
close;
case 3:
close;
}
}
mes .@rewname$;
mes "Sry "+strcharinfo(0)+", you already got this";
mes "Wait 24 hours!!";
close;
}
Question
Kido
Hello, how can i make this daily reward check ip ?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.