A little question about function new and stock
#1

Hey, there like i am making few location spawns.
Код:
new Spawns[][4] =
{
	{posX1,posY1,posZ1},
	{posX2,posY2,posZ2},
	{posX3,posY3,posZ3},
	{posX4,posY4,posZ4},
	{posX5,posY5,posZ5},
	{posX6,posY6,posZ6}
};

stock SetPos(playerid)
{
	SetPlayerPos(playerid,HIS ENUM VALUE});
}
I am making 1 enum,if his enum is 1 he must be teleported at posX1,posY1,posZ1 .. I am asking if it's possible to set the value of the POS in the new Spawns before.. And after an command execution he will be teleported as per his enum value. if its possible let me know.
Reply


Messages In This Thread
A little question about function new and stock - by fuckingcruse - 08.01.2016, 15:22
Re: A little question about function new and stock - by Jefff - 08.01.2016, 15:36
Re: A little question about function new and stock - by fuckingcruse - 09.01.2016, 01:37
Re: A little question about function new and stock - by SickAttack - 09.01.2016, 01:47
Re: A little question about function new and stock - by fuckingcruse - 09.01.2016, 05:48
Re: A little question about function new and stock - by SickAttack - 09.01.2016, 06:15

Forum Jump:


Users browsing this thread: 1 Guest(s)