Jump to content

Legato

Members
  • Posts

    87
  • Joined

  • Last visited

Everything posted by Legato

  1. These 2 pieces of codes are to show how much zeny the seller sold his item(s) on @autobuy. But it's showing the incorrect amount of zeny. char temp[250]; memset(temp, '\0', sizeof(temp)); sprintf(temp,"You sold the goods for %dz."); clif_displaymessage(sd->fd, temp); See the images below. Autobuy
  2. Are you gonna post more tutorials? Really, good job.
  3. Oops. My bad. Links are fine. EDIT : Great videos.
  4. Been looking for a script like this. I change the #KAFRAPOINTS to #MYAccCurrencyVal, it's working. But, when the player reconnects, the points are deleted. Here is my script : Link <- made by GodLesZ This script gives points, but it doesn't add the points when I try to add points to the same player. Can you have a look at it, Brian? Thanks.
  5. Ohh. Right. >_> Thanks, Kenpachi. Can I use arrays on source modification? Or should I just use this to check different ids? if ( item_id >= 2000 && item_id <= 2200 || item_id == 2300 || item_id == 2400 and so on ... ) { clif_displaymessage(fd, "NOT ALLOWED"); return 1; }
  6. Hiya, everyone. Is it possible to check the item ids before creating them via @item, @item2, @produce and @itemmap. Like you,'d restrict the item that in between the id that you will set. Example. (btw, this isn't working.) if (item_id >= 18000 && item_id <= 19000) { clif_displaymessage(fd, "These items are restricted."); return 1; } Can someone show me how's it done? Tia.
×
×
  • Create New...