House System Help - Help Is Appreciated
#2

For the virtual world:

Well you would have to create a folder for properties and making it save on the number.ini
for example if you would create a house , the first one would be saved on number 1.ini with the VirWorld = 1
the second house you would create would be saved on number 2.ini so the VirtualWoarld would be = 2 etc... that way players wouldn't find each other.
What you are making there right here HInfo[id][VirtualWorld] = GetPlayerVirtualWorld(playerid);. is that if the player ID is for example 10 then it saves it as virtual world Id 10, and when someone enters his house if the house was created by someone with the same (playerID) that you had on creating your house he goes to virtual world ID 10 and you will too when you enter yours.

I am telling you the idea, as i am a begginer i cant script it well without looking on all the pages at the same time,but i would suggest you to check the Ravens Roleplay gamemode wich has a working house system (i am not sure if i am allowed to use a gamemode as a reference but well, i just want to help)

By the way good luck with that
Reply


Messages In This Thread
House System Help - Help Is Appreciated - by Scripter12345 - 15.05.2012, 19:49
Re: House System Help - Help Is Appreciated - by flrp - 15.05.2012, 20:39
Re: House System Help - Help Is Appreciated - by Scripter12345 - 19.05.2012, 18:14
Re: House System Help - Help Is Appreciated - by Scripter12345 - 20.05.2012, 08:52

Forum Jump:


Users browsing this thread: 1 Guest(s)