29.08.2014, 17:49
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".
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.
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.
}
}
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.