Pickups and Massives
#3

You'll need to loop to find the Business with the information your looking for, example your searching for a Business name and your looking for "RC Shop".

pawn Код:
for(new i = 0; i < MAX_BUSINESSES; i++)
{
    if(BizName[i] = "RC Shop")
    {
         return i; // Return's pickup ID, Or whatever code you want here.
     }
}
Obviously I can't be more helpful, as your not being very detailed about what you need it for or are trying to do.
RC Shop would be a string coming from a command, and you could make the alterations and return the Pickup ID if needed as that's what I think you need.
Reply


Messages In This Thread
Pickups and Massives - by C0mBat1ve - 29.08.2014, 17:38
Re: Pickups and Massives - by Pottus - 29.08.2014, 17:49
Re: Pickups and Massives - by IceCube! - 29.08.2014, 17:49
Re: Pickups and Massives - by C0mBat1ve - 29.08.2014, 17:50

Forum Jump:


Users browsing this thread: 1 Guest(s)