26.12.2012, 22:26
I am using AGnational Bank FS. He already added a bank and the exit location of it, I added 2 more banks called Bank2 and Bank3. When I exit either of them it brings me back to the location of the first one. And the interior of the bank is always a 24/7.
Here is the exit script part.
dcmd_exit(playerid,params[]) {
#pragma unused params
if(pBankInfo[playerid][PLAYER_INBANK] == 1) {
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1274,23,1467.2456,-1011.0726); //location of first bank(my own first bank loc)
pBankInfo[playerid][PLAYER_INBANK] = 0;
}
Here is the exit script part.
dcmd_exit(playerid,params[]) {
#pragma unused params
if(pBankInfo[playerid][PLAYER_INBANK] == 1) {
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1274,23,1467.2456,-1011.0726); //location of first bank(my own first bank loc)
pBankInfo[playerid][PLAYER_INBANK] = 0;
}