
10-14-2001, 02:09 AM
|
|
Banned
|
Join Date: Jul 2001
Location: Who?
Posts: 261
|
|
|
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 |
|
|
|