Help (Explain) About System
#7

Quote:
Originally Posted by Troydere
Посмотреть сообщение
You can create an array just as you have your HInfo one, it'd look like this:

Код:
new Float:HousePos[][] =
{
	{pos1,pos2,pos3,int},
	{pos1,pos2,pos3,int},
	{pos1,pos2,pos3,int},
	{pos1,pos2,pos3,int}
};
And make the order match your MAX_HOUSES loop

So instead of doing this:

Код:
SetPlayerPos(playerid,271.884979,306.631988,999.148437)
You'd use your array with help of the loop, like this:

Код:
SetPlayerPos(playerid,HousePos[i][0],HousePos[i][1],HousePos[i][2])
Same for the interior.
+Rep
But i Cant understand
only i want way to make new interior + pos + exit checkpoints
interior (12)
Pos House(2324.419921,-1145.568359,1050.710083)
Checkpoints Exit Pos (2320.419921,-1145.568359,1050.710083)
/createhouse (Amount already here) (choose house 1 or 2)for what house i will made it.
Reply


Messages In This Thread
Help (Explain) About System - by ommar8080 - 13.03.2017, 15:03
Re: Help (Explain) About System - by ommar8080 - 14.03.2017, 22:16
Re: Help (Explain) About System - by 4D1L - 14.03.2017, 22:23
Re: Help (Explain) About System - by ommar8080 - 14.03.2017, 22:40
Re: Help (Explain) About System - by ommar8080 - 17.03.2017, 02:51
Re: Help (Explain) About System - by Toroi - 17.03.2017, 07:52
Re: Help (Explain) About System - by ommar8080 - 17.03.2017, 08:27
Re: Help (Explain) About System - by Toroi - 17.03.2017, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)