can help
#4

You can try like thiS
pawn Код:
CMD:enter(playerid,params[])
{
   new bint;
   bint = GetPlayerInterior(playerid);
   if(bint == 0) //0 is the interior id of bank.
   {
     //Function here.
   }
   else
   {
     SendClientMessage(playerid, 0xFF0000, "You need to be in a bank to use this command.");
   }
   return 1;
}
Reply


Messages In This Thread
can help - by adelmika - 27.09.2012, 04:00
Re: can help - by XtremeR - 27.09.2012, 04:14
Re: can help - by Jarnu - 27.09.2012, 04:38
Re: can help - by Lordzy - 27.09.2012, 06:16
Re: can help - by adelmika - 27.09.2012, 11:23
Re: can help - by .v - 27.09.2012, 11:36
Re: can help - by adelmika - 27.09.2012, 13:07
Re: can help - by adelmika - 27.09.2012, 14:23

Forum Jump:


Users browsing this thread: 5 Guest(s)