SA-MP Forums Archive
[FilterScript] PPC_Housing - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] PPC_Housing (/showthread.php?tid=283501)

Pages: 1 2 3 4


Re: PPC_Housing - [LaTinb0y]...$ag3R - 19.11.2011

this is not smart as garhouse ! thnanks


Re: PPC_Housing - GangsTa_ - 19.11.2011

Nice.


Re: PPC_Housing - davedavy - 22.11.2011

I installed the plugin and the filterscript, but my server crashes when i start the server , since i added the streamer plugin...

Can anyone help me?


Respuesta: Re: Respuesta: PPC_Housing - [Nikk] - 22.11.2011

Quote:
Originally Posted by PowerPC603
View Post
Did you create the required folders in the scriptfiles folder?
The script may crash if those folders aren't present.
:O idk that, thanks, this fs works perfecty


Re: PPC_Housing - davedavy - 22.11.2011

Server crash caused by native CreateDynamicMapIcon() called at address 1590 in 'filterscripts/housing.amx'

How can i fix that?


Re: PPC_Housing - JanNovak - 25.11.2011

I have the original gamemode script for houses, there is no line for MAX_PLAYER owned houses to edit, only this:

Code:
// Check if the player has room for another house (he hasn't bought the maximum amount of houses per player yet)
	// and get the slot-id
	for (new HouseIndex; HouseIndex < MAX_HOUSESPERPLAYER; HouseIndex++) // Loop through all house-slots of the player
		if (APlayerData[playerid][Houses][HouseIndex] == 0) // Check if this house slot is free
		    return HouseIndex; // Return the free HouseIndex for this player
and this:

Code:
// his function returns "1" if the given player is the owner of the given house
House_PlayerIsOwner(playerid, HouseID)
{
	// Loop through all houses owner by this player
	for (new i; i < MAX_HOUSESPERPLAYER; i++)
	{
		// Check if the player owns the house in any of his house-slots
		if (APlayerData[playerid][Houses][i] == HouseID)
		    return 1;
	}

	// If the player doesn't own the house, return 0
	return 0;
Help please?


Re: PPC_Housing - -BadGirl- - 27.11.2011

suggestion
Please Put /Sellhouse Command For Rcon Admin


Re: PPC_Housing - -fleia - 27.11.2011

nice script, thank bro.


Re: PPC_Housing - Nexotronix - 27.11.2011

Best!


Re: PPC_Housing - Astralis - 22.12.2011

oh my god,this is just awesome housing system. Thank you very much PowerPc.


Re: PPC_Housing - Ryan_Obeles - 24.02.2012

Is there a way to add more carslots even if the interiro is still 10?



Re: PPC_Housing - willzyyy - 27.02.2012

you must drive to your house? No tele cmd like /house?


Re: PPC_Housing - ninjahippie - 04.03.2012

Dont worry fixed it myself Love it going to use it on my server thanks a tone ppc


Re: PPC_Housing - Vegas. - 04.03.2012

I can't create house it says "Unknown command" i tried it with rcon admin..


Re: PPC_Housing - willzyyy - 04.03.2012

add in server cfg. Name of FS?
And load it.


Re: PPC_Housing - titanak - 04.03.2012

Quote:
Originally Posted by [LHT]Bally
View Post
my server restarts when i try to createhouse :S
and this is better than Garhouse it is your opinion `?


Re: PPC_Housing - [LHT]Bally - 04.03.2012

Quote:
Originally Posted by titanak
View Post
and this is better than Garhouse it is your opinion `?
i forgot to put houses folder in scriptfiles.


Re: PPC_Housing - GTAItsMe - 06.07.2012

nvm...


Re: PPC_Housing - martin3644 - 14.12.2012

Quote:
Originally Posted by [LHT]Bally
View Post
i have fixed it now lol i failed before


How you fixed it. I have the same problem


Re: PPC_Housing - Johny32 - 22.02.2013

Best !!! I will use it