01.07.2014, 17:26
There is no need to save the pickup in the file, but anyways:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
for(new i = 1; i < MAX_HOUSES; i++)
{
if(pickupid == HouseInfo[i][PickupID])
{
// House id found.
}
}
}