[HELP]How Can i make houses static pickups to checkpoints
#1

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
Reply
#2

?
Reply
#3

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

That didnt help at all
Reply
#5

bumped
Reply
#6

?
Reply
#7

Omg anyone
Reply
#8

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

https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint
Reply
#9

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)