SA-MP Forums Archive
[HELP] BIG PROB FOR ME , EASY FOR YOU - 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: [HELP] BIG PROB FOR ME , EASY FOR YOU (/showthread.php?tid=217777)



[HELP] BIG PROB FOR ME , EASY FOR YOU - Jaber_Brown - 28.01.2011

i want to remove the pickups and add checkpoints .. and this is the Ipckup code


Код:
for(new h = 0; h < sizeof(HouseInfo); h++)
	{
		if(HouseInfo[h][hOwned] == 0)
		{
            Create3DTextLabel("[Property]",0x00AE00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75, 25.0, 0);
			HouseInfo[h][hPickupID]=CreateDynamicPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
			pickups++;
		}
		if(HouseInfo[h][hOwned] == 1)
		{
            Create3DTextLabel("[Property]",0x00AE00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75, 25.0, 0);
			HouseInfo[h][hPickupID]=CreateDynamicPickup(1239, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
			pickups++;
		}
	}



Re: [HELP] BIG PROB FOR ME , EASY FOR YOU - Zezombia - 28.01.2011

You can only add one checkpoint at a time, so for you to replace the pickups with checkpoints you'll need a checkpoint streamer. That means, create a checkpoint when your near the point the checkpoint is positioned, then delete that one and add another when your closer to another point.


Re: [HELP] BIG PROB FOR ME , EASY FOR YOU - TheYoungCapone - 29.01.2011

you can use incognitos streamer.