Thread: Ownership
View Single Post
  #8  
Old 10-14-2001, 02:09 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
I kn0ow, I is making a free server, and the stupid code is like a mile long to get it to work right, it goes like this,:

if (playerchats&&strcontains(#c,Buy House 1)&&playerrupees<150){}
if (playerchats&&strcontains(#c,Buy House 1)&&playerrupees>149){
setstring server.hse1n,#a;
playerrupees-=150;
}
//Door Script
if (playerenters||timeout){
message This house is owned by #v(#s,server.hse1n);
timeout=0.05;
}
//and then you have to add all the stuff about selling, but
// where it is still free. You can't do much with individual strings,
// and I use it as a server string, because I have a list on
// onlinestartlocal that says who owns what. So you don't
// have to go to each house to see who owns them. Regular
// strings tend to only work for one player.

-Rebel95
Reply With Quote