sorry what i say . im trying to say please support the Ea truck bcoz there no developer like you
btw i got error
Sorry about that. Try this instead :
prontera,150,150,0 script Freebies 100,{
if ( #Freebies ) end;
mes .npc$;
mes "Welcome to Our Ragnarok Online!";
next;
mes .npc$;
mes "Here is your freebies, " +strcharinfo(0);
next;
for ( set .@i, 0; .@i < getarraysize(.freebie_items); set .@i, .@i + 2 )
getitem .freebie_items[.@i], .freebie_items[.@i + 1];
set #CASHPOINTS, #CASHPOINTS + .cash_amount;
dispbottom "You've gained " +.cash_amount+ " cash points.";
set #Freebies, 1;
end
OnInit:
setarray .freebie_items[0], 7227,10,7179,10; // <item id>,<amount>
set .cash_amount, 100; // cash points amount
set .npc$, "[ " +strnpcinfo(1)+ " ]";
end;
}