i wanted that likeWhat kind of event do you want?
What will be it's goals?
Sample of hourly event:
prontera,150,150,4 script Hide and Seek::hourly_event 1_M_01,{
if ( .STATUS ) {
mes("[^FFA500Hide and Seek^000000]");
mes("Oh! You found me!");
mes("Here's your reward!");
announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all);
#CASHPOINTS += 75; // Adds 75 Cash Points
close2();
donpcevent("hourly_event::OnStopEvent");
}
end();
OnInit:
hideonnpc("hourly_event");
.STATUS = 0;
end();
OnMinute00: //Every hour at this minute the event will begins
donpcevent("hourly_event::OnStartEvent");
end();
OnStartEvent:
initnpctimer();
setarray(
.COORDINATES[0],
// x, y (just for prontera)
119, 311,
105, 74,
129, 261,
188, 330,
241, 76,
205, 238,
60, 335,
240, 292
);
.@i = rand(getarraysize(.COORDINATES));
.@x = .COORDINATES[.@i];
.@y = .COORDINATES[.@i + 1];
movenpc("hourly_event", .@x, .@y);
.STATUS = 1;
announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all);
hideoffnpc("hourly_event");
end();
OnStopEvent:
stopnpctimer();
.STATUS = 0;
hideonnpc("hourly_event");
end();
OnTimer1800000:
donpcevent("hourly_event::OnStopEvent");
end();
}
Goal: Find the NPC in Prontera.
i wanted that likeWhat kind of event do you want?
What will be it's goals?
Sample of hourly event:
prontera,150,150,4 script Hide and Seek::hourly_event 1_M_01,{
if ( .STATUS ) {
mes("[^FFA500Hide and Seek^000000]");
mes("Oh! You found me!");
mes("Here's your reward!");
announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all);
#CASHPOINTS += 75; // Adds 75 Cash Points
close2();
donpcevent("hourly_event::OnStopEvent");
}
end();
OnInit:
hideonnpc("hourly_event");
.STATUS = 0;
end();
OnMinute00: //Every hour at this minute the event will begins
donpcevent("hourly_event::OnStartEvent");
end();
OnStartEvent:
initnpctimer();
setarray(
.COORDINATES[0],
// x, y (just for prontera)
119, 311,
105, 74,
129, 261,
188, 330,
241, 76,
205, 238,
60, 335,
240, 292
);
.@i = rand(getarraysize(.COORDINATES));
.@x = .COORDINATES[.@i];
.@y = .COORDINATES[.@i + 1];
movenpc("hourly_event", .@x, .@y);
.STATUS = 1;
announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all);
hideoffnpc("hourly_event");
end();
OnStopEvent:
stopnpctimer();
.STATUS = 0;
hideonnpc("hourly_event");
end();
OnTimer1800000:
donpcevent("hourly_event::OnStopEvent");
end();
}
Goal: Find the NPC in Prontera.
LMS
Disguise
Mushroom Hunting
Dice
Jumper
Poring Catcher
Etc i know its too much hope you had it and the price is 1 Cashpoint XD thank you mate
Lucky pick event try this Every 2hrs- script AutoPickEvent -1,{
OnClock2000:
while(1)
{
query_sql "select account_id from `char` where online = 1 order by rand() limit 1", .@aid;
attachrid .@aid;
if(CheckVending())
{
DetachRID();
continue;
}
announce strcharinfo(0) +" won in Lucky Pick Event.", 0;
#CASHPOINTS += 25; // Adds 25 Cash Points Rewards
break;
}
end;
}
here sir hope you can help me thanksi wanted that likeWhat kind of event do you want?
What will be it's goals?
Sample of hourly event:
prontera,150,150,4 script Hide and Seek::hourly_event 1_M_01,{
if ( .STATUS ) {
mes("[^FFA500Hide and Seek^000000]");
mes("Oh! You found me!");
mes("Here's your reward!");
announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all);
#CASHPOINTS += 75; // Adds 75 Cash Points
close2();
donpcevent("hourly_event::OnStopEvent");
}
end();
OnInit:
hideonnpc("hourly_event");
.STATUS = 0;
end();
OnMinute00: //Every hour at this minute the event will begins
donpcevent("hourly_event::OnStartEvent");
end();
OnStartEvent:
initnpctimer();
setarray(
.COORDINATES[0],
// x, y (just for prontera)
119, 311,
105, 74,
129, 261,
188, 330,
241, 76,
205, 238,
60, 335,
240, 292
);
.@i = rand(getarraysize(.COORDINATES));
.@x = .COORDINATES[.@i];
.@y = .COORDINATES[.@i + 1];
movenpc("hourly_event", .@x, .@y);
.STATUS = 1;
announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all);
hideoffnpc("hourly_event");
end();
OnStopEvent:
stopnpctimer();
.STATUS = 0;
hideonnpc("hourly_event");
end();
OnTimer1800000:
donpcevent("hourly_event::OnStopEvent");
end();
}
Goal: Find the NPC in Prontera.
LMS
Disguise
Mushroom Hunting
Dice
Jumper
Poring Catcher
Etc i know its too much hope you had it and the price is 1 Cashpoint XD thank you mateLucky pick event try this Every 2hrs>
- script AutoPickEvent -1,{
OnClock2000:
while(1)
{
query_sql "select account_id from `char` where online = 1 order by rand() limit 1", .@aid;
attachrid .@aid;
if(CheckVending())
{
DetachRID();
continue;
}
announce strcharinfo(0) +" won in Lucky Pick Event.", 0;
#CASHPOINTS += 25; // Adds 25 Cash Points Rewards
break;
}
end;
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.