13.06.2009, 18:09
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
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"
so anyone have the coordinates for the bank icons and the bank interor position? like 24/7 shops...
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);
Код:
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))