SA-MP Forums Archive
How to make house owner and only owner can get in! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make house owner and only owner can get in! (/showthread.php?tid=173727)



How to make house owner and only owner can get in! - doreto - 03.09.2010

How to make house owner and only owner can get in! pls help me.!


Re: How to make house owner and only owner can get in! - LarzI - 03.09.2010

Make a global array to store the players id as houseowner.

Example:
pawn Код:
//on top
new gHouseOwner[ MAX_HOUSES ]; //remember that MAX_HOUSES isn't defined by default, I'm just using to show you an example.

//where you want to make a player the owner.
gHouseOwner[ HOUSE_ID_HERE ] = playerid;
Easy as that.


Re: How to make house owner and only owner can get in! - doreto - 03.09.2010

this is cordinats can you make code 1375, 980.78088378906, -677.49468994141, 122.21528625488,


Re: How to make house owner and only owner can get in! - doreto - 04.09.2010

help me pls


Re: How to make house owner and only owner can get in! - doreto - 04.09.2010

help....


Re: How to make house owner and only owner can get in! - doreto - 22.10.2010

pls .......


Re: How to make house owner and only owner can get in! - SampStunta - 22.10.2010

Please do not spam, please be patient.
I don't understand..
Please gimme more information.


Re: How to make house owner and only owner can get in! - doreto - 22.10.2010

when rcon admin (me) create house and someone buy others playes do not get in


Re: How to make house owner and only owner can get in! - doreto - 22.10.2010

when rcon admin (me) create house and someone buy other players dont get in and how to invite someone


Re: How to make house owner and only owner can get in! - SampStunta - 22.10.2010

Create a /lock command for the owner of the house only.