24.06.2010, 14:51
Quote:
Originally Posted by tom
Hi!
Can you tell me what coordinates and where in the scriptfile I must add to make more places for banks. And how to make witdrawing, depositing... money outside at the ATM's ?? And not inside. with coordinates of atms so when im near a ATM i can use the fucntions. |
Code:
public OnPlayerConnect(playerid) { Bank2* = CreatePickup(X,Y,Z,world); SetPlayerMapIcon(playerid,pick an ID,Xofbank2,Yofbank2,Zofbank2,52,0); return 1; }
and then add this:
Code:
public OnPlayerPickUpPickup(playerid,pickupid) { if(pickupid == Bank2) { SetPlayerInterior(playerid,10); SetPlayerPos(playerid,6.091180,-29.271898,1003.549988); pBankInfo[playerid][PLAYER_INBANK] = 1; GameTextForPlayer(playerid,"~r~/exit ~b~to leave the bank",5000,3); } return 1; }