SA-MP Forums Archive
ERROR: You already have a house - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ERROR: You already have a house (/showthread.php?tid=478010)



ERROR: You already have a house - mtzandersson - 27.11.2013

Hey guys. I need help with 1 thing for my server

I am trying to use Gagis House System v1.4 on my server. But every time i create a house and when a players tries to buy it, it gives them "ERROR: You already have a house", I've been trying to figure out what the fault may be but without any success.

I wanted to ask here if any of you might know or if some of you may have encountered this issue.

Any solution?


Re: ERROR: You already have a house - NukeTripper - 27.11.2013

Could you find the house system stuff in the Pawno and put it in here then i will help you for an Rep + :P


Re: ERROR: You already have a house - [WA]iRonan - 27.11.2013

Quote:
Originally Posted by NukeTripper
Посмотреть сообщение
Could you find the house system stuff in the Pawno and put it in here then i will help you for an Rep + :P
Don't ask for +REP.

Please link me to Gagi's House System so I can look for you.


Re: ERROR: You already have a house - mtzandersson - 27.11.2013

I got it from here: https://sampforum.blast.hk/showthread.php?tid=321388

I could post the code but, it's pretty long .. Easier if you just download it and have a look your self, i haven't modded or made any changes to it.

Also, could it be the Gamemode i am using? I have downloaded the gamemode from here: https://sampforum.blast.hk/showthread.php?tid=223963 and I haven't made any changes to the gamemode either.



EDIT: I also think it might be because the House system is located in SA and the Gamemode is SF, IF so, then I would need help changing the House system so it works in SF.

Also; I have never made a sa-mp server before, only a few mmorpg private servers!


Re: ERROR: You already have a house - [WA]iRonan - 27.11.2013

Quote:
Originally Posted by mtzandersson
Посмотреть сообщение
I got it from here: https://sampforum.blast.hk/showthread.php?tid=321388

I could post the code but, it's pretty long .. Easier if you just download it and have a look your self, i haven't modded or made any changes to it.

Also, could it be the Gamemode i am using? I have downloaded the gamemode from here: https://sampforum.blast.hk/showthread.php?tid=223963 and I haven't made any changes to the gamemode either.



EDIT: I also think it might be because the House system is located in SA and the Gamemode is SF, IF so, then I would need help changing the House system so it works in SF.

Also; I have never made a sa-mp server before, only a few mmorpg private servers!
The main gamemode can't affect your filterscripts. I will look into this later, expect a Private Message with info soon/tommorow.


Re: ERROR: You already have a house - mtzandersson - 27.11.2013

Nice! I'll be waiting. Also, How do i change a filterscript to make it work with the gamemode? Because when i load a FS called House_System(also made my gagis) the NPC's in the Gamemode stops working.


Re: ERROR: You already have a house - mtzandersson - 28.11.2013

I have fixed the error, but now when the house system works the gamemode is somewhat buggy. I can't enter any buildings as the buildings yellow/red markers(pickups?) are gone.

The FS I am using: http://forum.sa-mp.com/showthread.ph...73#post1698973

The GM I am using: https://sampforum.blast.hk/showthread.php?tid=223963

I haven't made any changes to the FS/GM.

Any solution?


Re: ERROR: You already have a house - AaronFarley - 28.11.2013

Quote:
Originally Posted by mtzandersson
Посмотреть сообщение
I have fixed the error, but now when the house system works the gamemode is somewhat buggy. I can't enter any buildings as the buildings yellow/red markers(pickups?) are gone.

The FS I am using: http://forum.sa-mp.com/showthread.ph...73#post1698973

The GM I am using: https://sampforum.blast.hk/showthread.php?tid=223963

I haven't made any changes to the FS/GM.

Any solution?
Check the FS or Gamemode for the following Line: DisableInteriorEnterExits();
If so, remove it OR you could recreate the pickups you need for the certain locations. i'd suggest you use a checkpoint streamer because in my opinions, pickups are kinda ugly.


Re: ERROR: You already have a house - mtzandersson - 29.11.2013

Thank you, it was found in the FS and it was removed and now it works.
Now i have another problem though. The FS vspawner isn't working and there's no house interiors, when entering the house i get teleported to the other side of the map, still outside.

Any solution?

*Note: I am a beginner to pawno scripting, if you want to help me, that's great, have in mind that i might not understand you fully so try to describe what you're trying to tell me. (eg. Like this guy above ^). I am willing to learn basically anything, I am very open minded.