View Single Post
  #10  
Old 10-07-2001, 03:35 AM
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
im here to save the day, lol

okay, here should be the complete script:

[code]
// This is where a player buys the bomb
if (strequals(#c,buy bombs)) {
if (playerrupees>=50) {mymoney+=50; playerrupees-=50;
}
setplayerprop #c,;
}
// This is where you take the money by saying "pay me punk"
if (strequals(#a,<your account name here>)) {
if (strequals(#c,pay me punk)) {playerrupees+=mymoney; mymoney=0;
}
}

You could automatically have the server add the money to you, with p2p NPCserver commands, but this way is more simple, and can be used on a non-p2p server .
__________________
I speek on behalf of my staff.
~laterz

Lagoonia Staff
-Tiki God Of Power
Reply With Quote