Thread: sHOP sCRIPT
View Single Post
  #3  
Old 08-29-2001, 09:58 PM
oscarjf1 oscarjf1 is offline
Registered User
Join Date: Aug 2001
Location: I live in the US
Posts: 107
oscarjf1 is on a distinguished road
Send a message via AIM to oscarjf1
umm

There is no script called THE shop script, because generally everyone makes their own. Thats because the are pretty simple to do.

I normally do something like this:

if (playerenters) {show;
}
if (strequals(#c,buy bombs) && playerrupees>=5) {playerbombs+=5; playerrupees-=5; setplayerprop #c,;
} // This gives you 5 bombs for 5 rupees when a player says buy bombs, obviously.

You might want to include signs and things that tell players what to say to get items....
__________________
I speek on behalf of my staff.
~laterz

Lagoonia Staff
-Tiki God Of Power
Reply With Quote