A really tough question [SORRY]
#1

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
Reply
#2

[troll]****** or search in wiki.[/troll]

It would involve saving it via dini, djson or sql.
Reply
#3

Yes I know but I have ended in huge disgrace
Reply
#4

do i have to take pVar for that?
Reply
#5

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.
Reply
#6

yes i know it but it's not happening!! Is there any example script for that?
Reply
#7

If you would know it than it would work

And there are enough finished scripts which can be used to study (as example: GarHouse)
Reply
#8

What you want is called a "dynamic house system"
There are serveral perfectly working script here in the forum, just search for them.
Reply
#9

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.
Reply
#10

This is not a tough question, this is a kid asking for people to make something for him.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)