SA-MP Forums Archive
Bank Coordinates HELP!!!!! - 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: Bank Coordinates HELP!!!!! (/showthread.php?tid=81740)



Bank Coordinates HELP!!!!! - steven_italy - 13.06.2009

I have a bank system that have only 6 banks. i want to add more banks, for example i want that all 24/7 shops become bank! How can i do it? anyone have all the coordinates?
here is my codes.

This set the incon with the "$" on the map
Код:
	SetPlayerMapIcon(playerid, 1, 2414.6880,1124.5837,10.8203, 52, green);
	SetPlayerMapIcon(playerid, 2, -2624.8325,1410.0132,7.0938, 52, green);
	SetPlayerMapIcon(playerid, 3, -1697.8715,952.3763,24.8906, 52, green);
	SetPlayerMapIcon(playerid, 4, 1631.3008,-1170.6663,24.0781, 52, green);
	SetPlayerMapIcon(playerid, 5, 1291.9000,269.4450,19.5547, 52, green);
	SetPlayerMapIcon(playerid, 6, -183.5646,1033.9642,19.7422, 52, green);
and this is the function to check if u are in a bank (the bank commands work when u are in a bank interior, u dont have to be in a red mark or other"
Код:
	  if(PlayerToPoint(100, playerid,827.9430,4.9825,1004.1870) || PlayerToPoint(100, playerid,212.6392,-8.1615,1001.2109) || PlayerToPoint(100, playerid,346.4020,172.5660,1014.1875) || PlayerToPoint(100, playerid,-2662.8271,1411.1824,906.2734) || PlayerToPoint(100, playerid,-26.9156,-55.3495,1003.5469))
so anyone have the coordinates for the bank icons and the bank interor position? like 24/7 shops...


Re: Bank Coordinates HELP!!!!! - HuRRiCaNe - 13.06.2009

Search here
http://weedarr.wikidot.com/interior


Re: Bank Coordinates HELP!!!!! - steven_italy - 13.06.2009

For example the first
Код:
-25.884498,-185.868988,1003.54687
i use this to set
Код:
 if(PlayerToPoint(100, playerid,-185.868988,1003.54687)
and for icon on the map? how i take the coords?


Re: Bank Coordinates HELP!!!!! - HuRRiCaNe - 13.06.2009

you go to the place where u want to put the icon and get the pos if u are at debug
2414.6880,1124.5837,10.8203
SetPlayerMapIcon(playerid, 1, you coords (x.x,y.y,z.z, 52, green);


Re: Bank Coordinates HELP!!!!! - steven_italy - 13.06.2009

so i go to debug, i take the cord of my position when i am in front of the shop and then i put the coords in the map icon coords x.x y.y z.z ?