TY moss mhalicot!
additional lang po sana kung pede..
sir yung item giver mo na script is once per account?
at pede ba mag lagay for example rental item pero meron upgrade?
paanu po yun?
meron ako nakuha script somewhere while waiting sa reply niyo nag research na din ako ng konti. napa gana ko xa pero yun nga lang indi rental.
eto po yung script na nakita ko:
//-------------------------------//Start Item NPC//-------------------------------prontera,146,172,6 script Freebies 721,{set .@n$, "[Seyra]";setarray .@rwd[0],2115,1,2357,1,2421,1,2524,1; // Rewards: <item id>,<item amount>query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", .@lip$);if ( getd("$" + .@lip$ + "_NG") > 0 || #NewbieGift > 0){mes .@n$;mes "I'm sorry, the rewards are exclusively for new players.";close;}mes .@n$;mes "Welcome! Here are some free gifts"; mes "for newcomers:";for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 )mes .@rwd[.@i+1] + " x " + getitemname(.@rwd[.@i]);close2;set #NewbieGift, 1;setd "$" + .@lip$ + "_NG", getd("$" + .@lip$ + "_NG") + 1;for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 )getitem .@rwd[.@i], .@rwd[.@i+1];end;OnInit:waitingroom "Newbie Gift!",0;end;}
pede po pa edit kung paanu (kung pede) rental item and meron ups?
salamat po. patulong nlng po sa noob...
EDIT:
sir sa script mo po eto ginawa ko.
ask ko lang po, saan pede ilagay jan yung quanity ng item or paano po change ang price ng item?
Code:
prontera,104,78,6 trader Item Vendor 790,{ OnInit: tradertype(NST_CUSTOM); sellitem 2254; sellitem 5074; //change to POD name or ItemID end; /* allows currency to be Red_Potion */OnCountFunds: setcurrency(countitem(Donation_Card)); end;/* receives @price (total cost) */OnPayFunds: if( countitem(Donation_Card) < @price ) end; delitem Donation_Card,@price; purchaseok(); end;}