21.03.2009, 23:43
Hey hey!... [SAP]Sidhu here. I'm currently scripting a new Gamemode... I'm giving admins their own houses and vehicles as a special. When the player types the command to teleport to their house, it says "Welcome to your house [player's name]". It's supposed to say that. When I added more houses and vehicles, and people used the teleport command, this started coming up:
"Welcome to your house [player's name]"
"You don't own a house"
"You don't own a house"
"You don't own a house"
The "You don't own a house" message comes up one more time when another player's property is added.
Can anybody help me fix this problem?
Thanks.
Code Here: http://pastebin.com/m603f16f8
* Just thought about it... Am I supposed to add a return 1; after the player's tele info?
"Welcome to your house [player's name]"
"You don't own a house"
"You don't own a house"
"You don't own a house"
The "You don't own a house" message comes up one more time when another player's property is added.
Can anybody help me fix this problem?
Thanks.
Code Here: http://pastebin.com/m603f16f8
* Just thought about it... Am I supposed to add a return 1; after the player's tele info?