A really tough question [SORRY] - 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: A really tough question [SORRY] (
/showthread.php?tid=226481)
A really tough question [SORRY] -
UDV Production - 15.02.2011
How will i make a command that is like /createhouse. When the player types the command he have to give the interior id and after giving that a checkpoint will be created and when a player enters that checkpoint he will he transferred to that interior. Please don't tell to ****** it or search in wiki. I have tried that
Re: A really tough question [SORRY] -
jameskmonger - 15.02.2011
[troll]****** or search in wiki.[/troll]
It would involve saving it via dini, djson or sql.
Re: A really tough question [SORRY] -
UDV Production - 15.02.2011
Yes I know but I have ended in huge disgrace
Re: A really tough question [SORRY] -
UDV Production - 15.02.2011
do i have to take pVar for that?
Re: A really tough question [SORRY] -
_Tommy - 15.02.2011
You can use PVars only for saving player's information, for example - saving the player's owned-house.
You will have to learn atleast one saving method (Dini/MYSQL/any other saving system) so you can create and save your houses to a file/database.
Re: A really tough question [SORRY] -
UDV Production - 15.02.2011
yes i know it but it's not happening!! Is there any example script for that?
AW: A really tough question [SORRY] -
Nero_3D - 15.02.2011
If you would know it than it would work
And there are enough finished scripts which can be used to study (as example:
GarHouse)
Re: A really tough question [SORRY] -
Mauzen - 15.02.2011
What you want is called a "dynamic house system"
There are serveral perfectly working script here in the forum, just search for them.
Re: A really tough question [SORRY] -
PowerPC603 - 15.02.2011
My GM has a built-in housing system.
Look in the file "PPC_PlayerCommands.inc" (download link is in my sig) for the command "/createhouse" and go from there.
But it's quite complex, as the housing system is integrated into several different files, callbacks and other functions.
Re: A really tough question [SORRY] -
Antonio [G-RP] - 16.02.2011
This is not a tough question, this is a kid asking for people to make something for him.