English houses

5 replies
Goto Page
To the start Previous 1 Next To the start
09.10.13 08:10:53 pm
Up
Agustindz23
User
Offline Off
hello all
my problem is the house
i'm use the command !house buy. all is normal, but when the door does not open everything works fine [money if used] the problem is the door
if I can help.
thanks

CODE
Code:
1
2
3
4
{pos1 = {13,1}, pos2 = {16,3}, ent = {14,5}, door = {14,4}, price =2500, owner = nil, endtime = nil, allow = {11471}, doors = {[1] = {11471}}},
     {pos1 = {16,1}, pos2 = {20,3}, ent = {18,5}, door = {18,4}, price = 2500, owner = nil, endtime = nil, allow = {11471}, doors = {[1] = {11471}}},
     {pos1 = {20,1}, pos2 = {24,3}, ent = {22,5}, door = {22,4}, price = 2500, owner = nil, endtime = nil, allow = {11471}, doors = {[1] = {11471}}},
     {pos1 = {24,1}, pos2 = {29,3}, ent = {26,5}, door = {26,4}, price = 3000, owner = nil, endtime = nil, allow = {11471}, doors = {[1] = {11471}}},
09.10.13 10:17:30 pm
Up
Rainoth
Moderator
Offline Off
That's not the whole code.
I don't know the script but you should search for hook that managed door opening (probably "use") and look up all the checks if the person bought a house and if he is eligible to access the house.

EDIT : If you really think that the problem is in the code you posted, the problem might be the extra comma "," at the end.
09.10.13 10:19:06 pm
Up
Promaster
User
Offline Off
You need to name the door to [number]_1.
Exemple
1_1
2_1
3_1
4_1
5_1
6_1
7_1
8_1
IMG:https://image.prntscr.com/image/J20O66l1RQGtFLeN9dmW6g.png
Patch 13.1! Updated. 2018-02-14
09.10.13 11:22:46 pm
Up
Agustindz23
User
Offline Off
@user Promaster: yes iknow, all doors have name
14.10.13 12:26:04 pm
Up
eduxd0707
BANNED
Offline Off
this problem are all with the same number
change the drywall on the map editor with a number different from each other
and the number of drywall that have it do you use the port you want there in the script
but if you have the same number will fail
14.10.13 12:49:20 pm
Up
Gajos
BANNED
Offline Off
Banned for Hacking/Cheating in CS2D /DC
To the start Previous 1 Next To the start