find a object case, and under break; add a new case
just a template ;DCode:case 628: Stuff in here break;
|
hey
how exactly do i add a working stall to my server
the base is RichScape
i have added the stall into the server
a silver stall
object id : 628
how exactly do i make it so i can steal from it and get xp and items?
remember
it is RichScape base
Thank You
what the case shall do,
example:
if(playerLevel[17] =<15) means you need 15 or above to do that actionCode:case 628: if(playerLevel[17] =< 15) { addItem(995, 1000); } else sM("You need Thieving Level 15 or Higher"); break;
addItem(995, 1000); means you get 1000 cash if you meet the requirement (15+ thieving)
sM("You need Thieving Level 15 or higher"); sends a message to player, if he have thieving level under 15
Break; ends the case
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |