Help me? - 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)
+--- Thread: Help me? (
/showthread.php?tid=340205)
Help me? -
sanrock - 06.05.2012
I am using PPC_Housin
But how do I only make the person who brought the house see the house icon? on map?
Re: Help me? -
Kudoz - 06.05.2012
Check sampwiki
Re: Help me? -
sanrock - 06.05.2012
So it will be like
pawn Код:
public OnPlayerConnect( playerid )
{
// This example demonstrates how to create a dollar-icon on top of a 24/7 located
// in Las Venturas. This way new players know where to go with their money!
SetPlayerMapIcon( playerid, 12, 2204.9468, 1986.2877, 16.7380, 52, 0, MAPICON_GLOBAL );
}
?
But how do I make it so only the owner of house see's it?
Re: Help me? -
Jonny5 - 06.05.2012
just loop threw the players untill you find the owner,
once found use that code above to set the map icon.