SA-MP Forums Archive
[HELP]How Can i make houses static pickups to checkpoints - 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]How Can i make houses static pickups to checkpoints (/showthread.php?tid=115997)



[HELP]How Can i make houses static pickups to checkpoints - Lilcuete - 26.12.2009

How can i make this so when a player sees a house instead the pickup showing checkpoints pop up instead of this
Code:
	for(new h = 0; h < sizeof(HouseInfo); h++)
	{
		if(HouseInfo[h][hOwned] == 0)
		{
			AddStaticPickup(1273, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
			pickups++;
		}
		if(HouseInfo[h][hOwned] == 1)
		{
			AddStaticPickup(1239, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
			pickups++;
		}
	}
Make it to checkpoints like dis image [img width=1024 height=768]/imageshack/img15/7792/samp026x.png[/img]


Please reply thanks


Re: [HELP]How Can i make houses static pickups to checkpoints - Lilcuete - 27.12.2009

?


Re: [HELP]How Can i make houses static pickups to checkpoints - FoxtrotZulu - 27.12.2009

I'm not sure, but try using ModelID 1272 instead of 1273. Good luck.


Re: [HELP]How Can i make houses static pickups to checkpoints - Lilcuete - 27.12.2009

That didnt help at all


Re: [HELP]How Can i make houses static pickups to checkpoints - Lilcuete - 27.12.2009

bumped



Re: [HELP]How Can i make houses static pickups to checkpoints - Lilcuete - 27.12.2009

?


Re: [HELP]How Can i make houses static pickups to checkpoints - Lilcuete - 28.12.2009

Omg anyone


Re: [HELP]How Can i make houses static pickups to checkpoints - [Bm]rap45 - 29.12.2009

Would this help? I'm not a excellent scripter I'm just trying to help

https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint


Re: [HELP]How Can i make houses static pickups to checkpoints - retart441 - 29.12.2009

Using checkpoints just make it easier for people to enter houses. Without typing /enter or something.
You can have an auto check when player enters a checkpoint to send player to the interior if the lock is = to 0. And if not send a message saying door locked.
Gave me a bunch of ideas.